woocommerce_layered_nav_count хук-фильтрWC 1.0

Использование

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
-

Где вызывается хук

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 );

Где используется хук в WooCommerce

Использование не найдено.