woocommerce_order_amount_item_total
Usage
add_filter( 'woocommerce_order_amount_item_total', 'wp_kama_woocommerce_order_amount_item_total_filter', 10, 5 ); /** * Function for `woocommerce_order_amount_item_total` filter-hook. * * @param $total * @param $that * @param $item * @param $inc_tax * @param $round * * @return */ function wp_kama_woocommerce_order_amount_item_total_filter( $total, $that, $item, $inc_tax, $round ){ // filter... return $total; }
- $total
- -
- $that
- -
- $item
- -
- $inc_tax
- -
- $round
- -
Where the hook is called
woocommerce_order_amount_item_total
woocommerce/includes/abstracts/abstract-wc-order.php 2043
return apply_filters( 'woocommerce_order_amount_item_total', $total, $this, $item, $inc_tax, $round );