WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Restrict User Access

Create Access Levels for your users to manage capabilities and conditionally restrict content. Lightweight and powerful.

Restrict content and contexts to control what your users get exclusive access to, or drip content over time. Create an unlimited number of Access Levels and override user and role capabilities.

Use this plugin to quickly set up a membership site where your users can get different levels such as Gold, Silver and Bronze. Then, restrict access to e.g. posts tagged "Premium", articles written by specific authors, or all your free products.

No coding required.

Unlimited Access Levels

  • Multiple levels per user
  • Synchronization with User Roles
  • Set durations and let them expire
  • Manage capabilities
  • Redirect unauthorized users to a custom page
  • Tease content for unauthorized users and show custom message
  • Shortcode to fine-tune restrictions in your posts or pages

Unlimited Level Restrictions

Conditionally restrict and drip content:

  • Singulars, eg. posts or pages
  • Custom Post Types
  • Singulars with given taxonomies, eg. categories, tags or post formats
  • Singulars by a given author
  • Page Templates
  • Post Type Archives
  • Author Archives
  • (Custom) Taxonomy Archives
  • Date Archives
  • Search Results
  • 404 Not Found Page
  • Front Page
  • bbPress User Profiles
  • BuddyPress Member Pages
  • Languages (qTranslate, Polylang, Transposh, WPML)
  • Pods Pages

Combine conditions in any way you like, e.g. restrict posts in Category X by author Y.

Negate conditions, e.g. restrict all pages except Page X.

Integrated Support for Popular Plugins

Useful Shortcodes

[restrict role="editor" page="1"]
This content can only be seen by editors.
Other users will see content from Page 1.
[/restrict]

[restrict level="platinum"]
This content can only be seen by users with Platinum level or above.
[/restrict]

[login-form]

API for Developers

rua_get_user_roles($user_id:int):array
rua_get_user_levels($user_id:int,$hierarchical:bool,$synced_roles:bool,$include_expired:bool):array
rua_get_user_level_start($user_id:int,$level_id:int):int
rua_get_user_level_expiry($user_id:int,$level_id:int):int
rua_is_user_level_expired($user_id:int,$level_id:int):bool
rua_has_user_level($user_id:int,$level_id:int):bool
rua_add_user_level($user_id:int,$level_id:int):int|bool
rua_remove_user_level($user_id:int,$level_id:int):bool
rua_get_level_by_name($name:string):int
rua_get_level_caps($name:string,$hierarchical:bool):array

For more information

Requires: 3.9 or higher
Compatible up to: 4.7.1
Last Updated: 6 days ago
Active Installs: 3,000+

Ratings

4 out of 5 stars

Support

6 of 13 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,2,2 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
50,2,1 50,2,1 100,1,1 100,2,2
100,1,1
100,2,2
100,1,1 100,1,1
100,1,1 100,1,1