woocommerce_cart_item_product filter-hookWC 1.0

Usage

add_filter( 'woocommerce_cart_item_product', 'wp_kama_woocommerce_cart_item_product_filter', 10, 3 );

/**
 * Function for `woocommerce_cart_item_product` filter-hook.
 * 
 * @param  $cart_item_data 
 * @param  $cart_item      
 * @param  $cart_item_key  
 *
 * @return 
 */
function wp_kama_woocommerce_cart_item_product_filter( $cart_item_data, $cart_item, $cart_item_key ){

	// filter...
	return $cart_item_data;
}
$cart_item_data
-
$cart_item
-
$cart_item_key
-

Where the hook is called

In file: /templates/cart/cart.php
woocommerce_cart_item_product
woocommerce/templates/cart/cart.php 41
$_product   = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
woocommerce/templates/cart/mini-cart.php 31
$_product   = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
woocommerce/templates/checkout/review-order.php 32
$_product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );

Where the hook is used in WooCommerce

Usage not found.