woocommerce_remove_cart_item_from_session, $key, $values, $product

woocommerce_remove_cart_item_from_session, $key, $values, $product

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_remove_cart_item_from_session, $key, $values, $product') is found 1 times:

  • /includes/class-wc-cart-session.php line 173
    				 * @param string     $key Cart item key.
    				 * @param array      $values Cart item values e.g. quantity and product_id.
    				 * @param WC_Product $product The product being added to the cart.
    				 */
    				do_action( 'woocommerce_remove_cart_item_from_session', $key, $values, $product );
    
    				/**
    				 * Allow 3rd parties to override this item's is_purchasable() result with cart item data.
    				 *
    				 * @param bool       $is_purchasable If false, the item will not be added to the cart. Default: product's is_purchasable() status.
    				 * @param string     $key Cart item key.