Role protected categories can only be accessed by users who are in the specified role (or roles).
For this demo, we have created a Wholesale user role using the free User Role Editor plugin, and a Wholesale Category which is only visible to the Wholesale users.
Login to a wholesale user account below:
- Username: wholesale1
- Password: LNR#@tJAd7r*3R*6@UWPd%C*
Tips:
- We added the login form using Clean Login and the login redirect using LoginWP.
- If you want to approve new user registrations before they can access your private WooCommerce store, then you can do this using a free plugin such as New User Approve.