woocommerce_order_after_calculate_totals
Usage
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
- -
Where the hook is called
woocommerce_order_after_calculate_totals
woocommerce/includes/abstracts/abstract-wc-order.php 2019
do_action( 'woocommerce_order_after_calculate_totals', $and_taxes, $this );