woocommerce_layered_nav_count filter-hookWC 1.0

Usage

add_filter( 'woocommerce_layered_nav_count', 'wp_kama_woocommerce_layered_nav_count_filter', 10, 3 );

/**
 * Function for `woocommerce_layered_nav_count` filter-hook.
 * 
 * @param  $html  
 * @param  $count 
 * @param  $term  
 *
 * @return 
 */
function wp_kama_woocommerce_layered_nav_count_filter( $html, $count, $term ){

	// filter...
	return $html;
}
$html
-
$count
-
$term
-

Where the hook is called

WC_Widget_Layered_Nav::layered_nav_list()
woocommerce_layered_nav_count
woocommerce/includes/widgets/class-wc-widget-layered-nav.php 457
$term_html .= ' ' . apply_filters( 'woocommerce_layered_nav_count', '<span class="count">(' . absint( $count ) . ')</span>', $count, $term );

Where the hook is used in WooCommerce

Usage not found.