woocommerce_order_amount_item_tax
Usage
add_filter( 'woocommerce_order_amount_item_tax', 'wp_kama_woocommerce_order_amount_item_tax_filter', 10, 4 ); /** * Function for `woocommerce_order_amount_item_tax` filter-hook. * * @param $tax * @param $item * @param $round * @param $that * * @return */ function wp_kama_woocommerce_order_amount_item_tax_filter( $tax, $item, $round, $that ){ // filter... return $tax; }
- $tax
- -
- $item
- -
- $round
- -
- $that
- -
Where the hook is called
woocommerce_order_amount_item_tax
woocommerce/includes/abstracts/abstract-wc-order.php 2117
return apply_filters( 'woocommerce_order_amount_item_tax', $tax, $item, $round, $this );