woocommerce_layered_nav_term_html хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_layered_nav_term_html', 'filter_function_name_6737', 10, 4 ); function filter_function_name_6737( $term_html, $term, $link, $count ){ // filter... return $term_html; }
- $term_html
- -
- $term
- -
- $link
- -
- $count
- -
Где вызывается хук
woocommerce/includes/widgets/class-wc-widget-layered-nav.php 524
echo apply_filters( 'woocommerce_layered_nav_term_html', $term_html, $term, $link, $count );