WordPress at Your Fingertips
action is not described

woocommerce_remove_cart_item_from_session action-hook . WC 3.6.0

Allow 3rd parties to validate this item before it's added to cart and add their own notices.

Usage

add_action( 'woocommerce_remove_cart_item_from_session', 'action_function_name_3230', 10, 2 );
function action_function_name_3230( $remove_cart_item_from_session, $key ){
	// action...
}
$remove_cart_item_from_session(true|false)
If true, the item will not be added to the cart.
Default: false
$key(string)
Cart item key.

Changelog

Since 3.6.0 Introduced.

Where the hook is called

WC_Cart_Session::get_cart_from_session()
woocommerce_remove_cart_item_from_session
woocommerce/includes/class-wc-cart-session.php 129
do_action( 'woocommerce_remove_cart_item_from_session', $key, $values );
woocommerce/includes/class-wc-cart-session.php 144
do_action( 'woocommerce_remove_cart_item_from_session', $key, $values );
woocommerce/includes/class-wc-cart-session.php 150
do_action( 'woocommerce_remove_cart_item_from_session', $key, $values );

Where in WP core the hook is used WooCommerce

Usage not found.