WordPress at Your Fingertips
function is not described

WC_Widget_Product_Tag_Cloud::topic_count_text() public WC 3.4.0

Returns topic count text.

{} It's a method of the class: WC_Widget_Product_Tag_Cloud{}

No Hooks.

Return

String.

Usage

$WC_Widget_Product_Tag_Cloud = new WC_Widget_Product_Tag_Cloud();
$WC_Widget_Product_Tag_Cloud->topic_count_text( $count );
$count(int) (required)
Count text.

Changelog

Since 3.4.0 Introduced.

Code of WC_Widget_Product_Tag_Cloud::topic_count_text() WC 5.8.0

public function topic_count_text( $count ) {
	/* translators: %s: product count */
	return sprintf( _n( '%s product', '%s products', $count, 'woocommerce' ), number_format_i18n( $count ) );
}