Woocommerce - Remove the available product inventory number from the shop page
问题 On the shop page that displays all the products in my e-commerce store, it's currently displaying the product count (inventory) number beside the name of the product as so: I found and tried to use this code: add_filter( 'woocommerce_subcategory_count_html', 'woo_remove_category_products_count' ); function woo_remove_category_products_count() { return; } But it doesn't work because it removes the 'only 5 left in stock' notice on the individual product page and thats not what I need. Then I