woocommerce_order_amount_item_tax хук-фильтрWC 1.0

Использование

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
-

Где вызывается хук

WC_Abstract_Order::get_item_tax()
woocommerce_order_amount_item_tax
woocommerce/includes/abstracts/abstract-wc-order.php 1925
return apply_filters( 'woocommerce_order_amount_item_tax', $tax, $item, $round, $this );

Где используется хук в WooCommerce

Использование не найдено.