woocommerce_order_amount_item_tax

woocommerce_order_amount_item_tax

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_order_amount_item_tax') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2131
    2127
    2128
    2129
    2130
    2131
    2132
    2133
    2134
    2135
    2136
    2137
            $tax = $item->get_total_tax() / $item->get_quantity();
            $tax = $round ? wc_round_tax_total( $tax ) : $tax;
        }
     
        return apply_filters( 'woocommerce_order_amount_item_tax', $tax, $item, $round, $this );
    }
     
    /**
     * Get line tax - useful for gateways.
     *
     * @param mixed $item Item to get total from.