woocommerce_remove_cart_item, $cart_item_key, $this

woocommerce_remove_cart_item, $cart_item_key, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_remove_cart_item, $cart_item_key, $this') is found 1 times:

  • /includes/class-wc-cart.php line 1472
    			$this->removed_cart_contents[ $cart_item_key ] = $this->cart_contents[ $cart_item_key ];
    
    			unset( $this->removed_cart_contents[ $cart_item_key ]['data'] );
    
    			do_action( 'woocommerce_remove_cart_item', $cart_item_key, $this );
    
    			unset( $this->cart_contents[ $cart_item_key ] );
    
    			do_action( 'woocommerce_cart_item_removed', $cart_item_key, $this );
    
    			return true;