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

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

add_filter( 'woocommerce_cart_totals_get_fees_from_cart_taxes', 'wp_kama_woocommerce_cart_totals_get_fees_from_taxes_filter', 10, 3 );

/**
 * Function for `woocommerce_cart_totals_get_fees_from_cart_taxes` filter-hook.
 * 
 * @param  $taxes 
 * @param  $fee   
 * @param  $that  
 *
 * @return 
 */
function wp_kama_woocommerce_cart_totals_get_fees_from_taxes_filter( $taxes, $fee, $that ){

	// filter...
	return $taxes;
}
$taxes
-
$fee
-
$that
-

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

WC_Cart_Totals::get_fees_from_cart()
woocommerce_cart_totals_get_fees_from_cart_taxes
woocommerce/includes/class-wc-cart-totals.php 322
$fee->taxes     = apply_filters( 'woocommerce_cart_totals_get_fees_from_cart_taxes', $fee->taxes, $fee, $this );

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

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