woocommerce_calculate_item_totals_taxes filter-hookWC 1.0

Usage

add_filter( 'woocommerce_calculate_item_totals_taxes', 'wp_kama_woocommerce_calculate_item_totals_taxes_filter', 10, 3 );

/**
 * Function for `woocommerce_calculate_item_totals_taxes` filter-hook.
 * 
 * @param  $WC_Tax::calc_tax 
 * @param  $item             
 * @param  $that             
 *
 * @return 
 */
function wp_kama_woocommerce_calculate_item_totals_taxes_filter( $WC_Tax::calc_tax, $item, $that ){

	// filter...
	return $WC_Tax::calc_tax;
}
$WC_Tax::calc_tax
-
$item
-
$that
-

Where the hook is called

WC_Cart_Totals::calculate_item_totals()
woocommerce_calculate_item_totals_taxes
woocommerce/includes/class-wc-cart-totals.php 680
$total_taxes     = apply_filters( 'woocommerce_calculate_item_totals_taxes', WC_Tax::calc_tax( $item->total, $item->tax_rates, $item->price_includes_tax ), $item, $this );

Where the hook is used in WooCommerce

Usage not found.