Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created March 14, 2013 11:35
Show Gist options
  • Save jameskoster/5160675 to your computer and use it in GitHub Desktop.
Save jameskoster/5160675 to your computer and use it in GitHub Desktop.
WooCommerce - hide sub-category product count in product archives
add_filter( 'woocommerce_subcategory_count_html', 'jk_hide_category_count' );
function jk_hide_category_count() {
// No count
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment