woocommerce_cart_emptied

woocommerce_cart_emptied

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_cart_emptied') is found 1 times:

  • /includes/class-wc-cart.php line 653
    		}
    
    		$this->fees_api->remove_all_fees();
    
    		do_action( 'woocommerce_cart_emptied', $clear_persistent_cart );
    	}
    
    	/**
    	 * Get number of items in the cart.
    	 *
    	 * @return int
    

See this hook used in plugins: