woocommerce_before_calculate_totals

woocommerce_before_calculate_totals

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_before_calculate_totals') is found 1 times:

  • /includes/class-wc-cart.php line 1407
    			$this->session->set_session();
    			return;
    		}
    
    		do_action( 'woocommerce_before_calculate_totals', $this );
    
    		new WC_Cart_Totals( $this );
    
    		do_action( 'woocommerce_after_calculate_totals', $this );
    	}