WordPress at a glance
action is not described

woocommerce_before_cart_emptied action-hook . WC 1.0

Empties the cart and optionally the persistent cart too.

Usage

add_action( 'woocommerce_before_cart_emptied', 'action_function_name_4341' );
function action_function_name_4341( $clear_persistent_cart ){
	// action...
}
$clear_persistent_cart(true|false)
Should the persistant cart be cleared too.
Default: true

Where the hook is called

WC_Cart::empty_cart()
woocommerce_before_cart_emptied
woocommerce/includes/class-wc-cart.php 633
do_action( 'woocommerce_before_cart_emptied', $clear_persistent_cart );

Where in WP core the hook is used WooCommerce

Usage not found.