woocommerce_cart_item_visible filter-hookWC 1.0

Usage

add_filter( 'woocommerce_cart_item_visible', 'wp_kama_woocommerce_cart_item_visible_filter', 10, 3 );

/**
 * Function for `woocommerce_cart_item_visible` filter-hook.
 * 
 * @param  $true          
 * @param  $cart_item     
 * @param  $cart_item_key 
 *
 * @return 
 */
function wp_kama_woocommerce_cart_item_visible_filter( $true, $cart_item, $cart_item_key ){

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

Where the hook is called

In file: /templates/cart/cart.php
woocommerce_cart_item_visible
woocommerce/templates/cart/cart.php 53
if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_cart_item_visible', true, $cart_item, $cart_item_key ) ) {

Where the hook is used in WooCommerce

Usage not found.