woocommerce_cart_reset

woocommerce_cart_reset

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_cart_reset') is found 1 times:

  • /includes/class-wc-cart.php line 2129
    	 */
    	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