To get the category ID's, you have to navigate to the categories and hover the mouse over the category you're trying to get the ID, you'll see something like “http://yourdomain.com/wp-admin/edit-tags.php?action=edit&taxonomy=product_cat&tag_ID=17&post_type=product”
Here you can see something like tag_ID=17. 17 is the category ID.
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘How to hide category ?’ is closed to new replies.