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

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

add_filter( 'woocommerce_layered_nav_term_html', 'wp_kama_woocommerce_layered_nav_term_html_filter', 10, 4 );

/**
 * Function for `woocommerce_layered_nav_term_html` filter-hook.
 * 
 * @param  $term_html 
 * @param  $term      
 * @param  $link      
 * @param  $count     
 *
 * @return 
 */
function wp_kama_woocommerce_layered_nav_term_html_filter( $term_html, $term, $link, $count ){

	// filter...
	return $term_html;
}
$term_html
-
$term
-
$link
-
$count
-

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

WC_Widget_Layered_Nav::layered_nav_list()
woocommerce_layered_nav_term_html
woocommerce/includes/widgets/class-wc-widget-layered-nav.php 461
echo apply_filters( 'woocommerce_layered_nav_term_html', $term_html, $term, $link, $count );

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

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