woocommerce_calculate_totals action-hookWC 1.0

Usage

add_action( 'woocommerce_calculate_totals', 'wp_kama_woocommerce_calculate_totals_action' );

/**
 * Function for `woocommerce_calculate_totals` action-hook.
 * 
 * @param  $cart 
 *
 * @return void
 */
function wp_kama_woocommerce_calculate_totals_action( $cart ){

	// action...
}
$cart
-

Where the hook is called

WC_Cart_Totals::calculate_totals()
woocommerce_calculate_totals
woocommerce/includes/class-wc-cart-totals.php 880
do_action( 'woocommerce_calculate_totals', $this->cart );

Where the hook is used in WooCommerce

Usage not found.