woocommerce_cart_reset

woocommerce_cart_reset

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_cart_reset') is found 1 times:

  • /includes/class-wc-cart.php line 2139
    	 */
    	private function reset_totals() {
    		$this->totals = $this->default_totals;
    		$this->fees_api->remove_all_fees();
    		do_action( 'woocommerce_cart_reset', $this, false );
    	}
    
    	/**
    	 * Returns 'incl' if tax should be included in cart, otherwise returns 'excl'.
    	 *
    	 * @return string