woocommerce_cart_contents_changed, $this->cart_contents

woocommerce_cart_contents_changed, $this->cart_contents

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_cart_contents_changed, $this->cart_contents') is found 1 times:

  • /includes/class-wc-cart.php line 1445
    					$cart_item_key
    				);
    			}
    
    			$this->cart_contents = apply_filters( 'woocommerce_cart_contents_changed', $this->cart_contents );
    
    			do_action( 'woocommerce_add_to_cart', $cart_item_key, $product_id, $quantity, $variation_id, $variation, $cart_item_data );
    
    			return $cart_item_key;
    
    		} catch ( Exception $e ) {