woocommerce_subcategory_count_html

woocommerce_subcategory_count_html

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_subcategory_count_html') is found 1 times:

  • /includes/wc-template-functions.php line 1205

    echo esc_html( $category->name );

    if ( $category->count > 0 ) {
    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    echo apply_filters( ‘woocommerce_subcategory_count_html’, ‘ (‘ . esc_html( $category->count ) . ‘)‘, $category );
    }
    ?>