How to Configure WPUF Content Restriction by User Roles
WP User Frontend Pro allows you to restrict the contents of your WordPress site. You can restrict access depending on different requirements and criteria, including:
- All users
- Specific user roles
- Subscription pack buyers
In this doc, we will show you how to restrict content by different user roles.
Choose or Create Your Content
First, create your content or choose an existing one. For this, navigate to WordPress Admin Dashboard → Pages → Add New, or click on your chosen one.
WPUF Content Restriction
Now, scroll down and you will get the WPUF Content Restriction Section.
Now, click on the Logged in users only from the Display to option. You will see a new field, User Roles. All the available roles on your site will be displayed. Simply choose the user role for which you want to see the content.
Please note that – the user roles you select will view the content. The unchecked user roles will not see the content instead they will get the following message.