WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
событие не описано

woocommerce_order_before_calculate_taxes хук-событие . WC 1.0

Calculate taxes for all line items and shipping, and store the totals and tax rows.

If by default the taxes are based on the shipping address and the current order doesn't have any, it would use the billing address rather than using the Shopping base location.

Will use the base country unless customer addresses are set.

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

add_action( 'woocommerce_order_before_calculate_taxes', 'action_function_name_7424', 10, 2 );
function action_function_name_7424( $args, $that ){
	// action...
}
$args(массив)
Added in 3.0.0 to pass things like location.
$that
-

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

WC_Abstract_Order::calculate_taxes()
woocommerce_order_before_calculate_taxes
woocommerce/includes/abstracts/abstract-wc-order.php 1529
do_action( 'woocommerce_order_before_calculate_taxes', $args, $this );

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

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