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

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

add_filter( 'woocommerce_order_get_tax_totals', 'wp_kama_woocommerce_order_get_tax_totals_filter', 10, 2 );

/**
 * Function for `woocommerce_order_get_tax_totals` filter-hook.
 * 
 * @param  $tax_totals 
 * @param  $that       
 *
 * @return 
 */
function wp_kama_woocommerce_order_get_tax_totals_filter( $tax_totals, $that ){

	// filter...
	return $tax_totals;
}
$tax_totals
-
$that
-

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

WC_Abstract_Order::get_tax_totals()
woocommerce_order_get_tax_totals
woocommerce/includes/abstracts/abstract-wc-order.php 540
return apply_filters( 'woocommerce_order_get_tax_totals', $tax_totals, $this );

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

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