Last active
April 25, 2018 08:05
-
-
Save woogists/bb3e6eff243e10f18ce5582f97f514dc to your computer and use it in GitHub Desktop.
[Frontend Snippets] Hide sub-category product count in product archives
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Hide category product count in product archives | |
*/ | |
add_filter( 'woocommerce_subcategory_count_html', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment