WC_Widget_Product_Tag_Cloud::topic_count_text()
Returns topic count text.
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. |
WC_Widget_Product_Tag_Cloud::topic_count_text() WC Widget Product Tag Cloud::topic count text code WC 9.6.0
public function topic_count_text( $count ) { /* translators: %s: product count */ return sprintf( _n( '%s product', '%s products', $count, 'woocommerce' ), number_format_i18n( $count ) ); }