woocommerce_get_item_count filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_item_count', 'wp_kama_woocommerce_get_item_count_filter', 10, 3 );

/**
 * Function for `woocommerce_get_item_count` filter-hook.
 * 
 * @param  $count     
 * @param  $item_type 
 * @param  $that      
 *
 * @return 
 */
function wp_kama_woocommerce_get_item_count_filter( $count, $item_type, $that ){

	// filter...
	return $count;
}
$count
-
$item_type
-
$that
-

Where the hook is called

WC_Abstract_Order::get_item_count()
woocommerce_get_item_count
woocommerce/includes/abstracts/abstract-wc-order.php 990
return apply_filters( 'woocommerce_get_item_count', $count, $item_type, $this );

Where the hook is used in WooCommerce

Usage not found.