WordPress at Your Fingertips
function is not described

woocommerce_template_loop_category_title() WC 1.0

Show the subcategory title in the product loop.

Hooks from the function
Return

null. Nothing.

Usage

woocommerce_template_loop_category_title( $category );
$category(object) (required)
Category object.

Code of woocommerce_template_loop_category_title() WC 5.6.0

<?php
function woocommerce_template_loop_category_title( $category ) {
	?>
	<h2 class="woocommerce-loop-category__title">
		<?php
		echo esc_html( $category->name );

		if ( $category->count > 0 ) {
			// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
			echo apply_filters( 'woocommerce_subcategory_count_html', ' <mark class="count">(' . esc_html( $category->count ) . ')</mark>', $category );
		}
		?>
	</h2>
	<?php
}