Last active
October 13, 2024 07:14
-
-
Save emre-edu-tech/6fac851188d0f65f6eff5e521d3fd346 to your computer and use it in GitHub Desktop.
Filter to remove the product count from the list of categories
This file contains hidden or 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
<?php | |
// Remove product count from category listing | |
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