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

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

add_action( 'woocommerce_order_after_calculate_totals', 'wp_kama_woocommerce_order_after_calculate_totals_action', 10, 2 );

/**
 * Function for `woocommerce_order_after_calculate_totals` action-hook.
 * 
 * @param  $and_taxes 
 * @param  $that      
 *
 * @return void
 */
function wp_kama_woocommerce_order_after_calculate_totals_action( $and_taxes, $that ){

	// action...
}
$and_taxes
-
$that
-

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

WC_Abstract_Order::calculate_totals()
woocommerce_order_after_calculate_totals
woocommerce/includes/abstracts/abstract-wc-order.php 1809
do_action( 'woocommerce_order_after_calculate_totals', $and_taxes, $this );

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

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