woocommerce_subcategory_count_html filter-hookWC 1.0

Usage

add_filter( 'woocommerce_subcategory_count_html', 'wp_kama_woocommerce_subcategory_count_html_filter', 10, 2 );

/**
 * Function for `woocommerce_subcategory_count_html` filter-hook.
 * 
 * @param  $html     
 * @param  $category 
 *
 * @return 
 */
function wp_kama_woocommerce_subcategory_count_html_filter( $html, $category ){

	// filter...
	return $html;
}
$html
-
$category
-

Where the hook is called

woocommerce_template_loop_category_title()
woocommerce_subcategory_count_html
woocommerce/includes/wc-template-functions.php 1195
echo apply_filters( 'woocommerce_subcategory_count_html', ' <mark class="count">(' . esc_html( $category->count ) . ')</mark>', $category );

Where the hook is used in WooCommerce

Usage not found.