How To Protect Content for a User Role

Updated on February 16, 2024

What’s in This Guide

This guide covers how to choose who (which user roles) can see your content in your Global Restriction. This is the first of the 3 main steps for creating a Global Restriction.

Content Control Restriction Steps Graphic 1

Are you looking to protect a block instead of using a Global Restriction?
If you want to protect a block for a user role in the WordPress block editor, head over to our How To Add a Restriction to a Block guide.

Who can see your content?

Here’s how you tell Content Control who can see your content.

We’ll use the Subscriber role as an example. I.e., we want anyone logged as a Subscriber to view our content. Any other role (including Administrator) and all logged-out visitors won’t see our content.

1. Add a new Global Restriction or hover over an existing one and click Edit

Cc V2 Edit Global Restriction 722W

If this is a new restriction, enter a name for it (e.g., “Subscriber Only”).

2. Click Logged In Users

Cc V2 Edit Global Restriction Logged In 1024W

Then, click Matching in the User Role Dropdown.

Cc V2 Edit Global Restriction Matching User Role 1024W

3. Click Subscriber

Click the Grant Access checkbox next to the Subscriber role.

Cc V2 Edit Global Restriction Subscriber 833W

4. Click Save Restriction

Click Save Restriction to save your changes.

Cc V2 Edit Global Restriction Save 728W

It’s your turn!
Do you remember that we selected Subscriber as an example? Now, try using any role(s) you want. You can select more than 1 role ✅

Is this article helpful? What are your feelings