Restrict User Access – Membership Plugin with Force


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
  • Sync with User Roles, Logged in, or Logged out
  • Add membership durations
  • Unlock (drip) content for new members
  • Permit & deny level capabilities
  • Hide nav menu items
  • Restrict Widget Areas in Content Aware Sidebars
  • Redirect unauthorized users to a page or custom link
  • Tease content for unauthorized users and show custom message
  • Shortcode to fine-tune restrictions in your posts or pages

Unlimited Content Restrictions

Conditionally restrict all your posts, pages, categories, or any content you want. Restrict User Access even allows you to combine conditions. This means that you e.g. can restrict all posts in Category X written by author Y.

For each level you can restrict content with the following conditions:

  • Singulars, eg. each post, page, or custom post type
  • Content with select taxonomies, eg. categories or tags
  • Content written by a select author
  • Side Maler
  • Post Type Archives
  • Forfatter-arkiv
  • (Custom) Taxonomy Archives
  • Søke Resultater
  • 404 Not Found Page
  • Forside
  • Blog Page
  • bbPress Bruker Profiler
  • BuddyPress Member Pages
  • Languages (qTranslate X, Polylang, Transposh, WPML, TranslatePress)
  • Pods Pages

Plugin Integrations & Support

Restrict User Access automatically supports Custom Post Types and Taxonomies created by any plugin or theme. Moreover, it comes with built-in support for some of the most popular WordPress plugins.

  • bbPress
  • BuddyPress
  • Easy Digital Downloads
  • qTranslate X
  • Pods
  • Polylang
  • TranslatePress
  • Transposh Translation Filter
  • WooCommerce
  • WPML


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

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

[restrict role="editor,contributor" page="1"]
This content can only be seen by editors and contributors.
Other users will see content from page with ID 1.


Developer API

rua_get_level_by_name(string $name):int
rua_get_level_caps(string $name, bool $hierarchical):array

get_level_ids(bool $hierarchical, bool $synced_roles, bool $include_expired):array
get_level_start(int $level_id):int
get_level_expiry(int $level_id):int
is_level_expired(int $level_id):bool
has_level(int $level_id):bool
add_level(int $level_id):bool
remove_level(int $level_id):bool

More Information


  • Simple Access Levels Overview
  • Easy-to-use Access Conditions
  • Capability Manager for Access Level


  1. Upload the full plugin directory to your /wp-content/plugins/ directory or install the plugin through Plugins in the administration
  2. Activate the plugin through Plugins in the administration
  3. Have fun creating your first Access Level under the menu User Access > Add New


How do I restrict some content?

  1. Go to User Access > Add New
  2. Click on the «New condition group» dropdown to add a condition
  3. Click on the created input field and select the content you want to restrict
  4. Go to the Members tab to add users who should have access the restricted content
  5. Go to the Options tab to set the Non-Member Action and other options
  6. Give your new level a descriptive title and save it

In order to restrict a context, e.g. «All Posts with Category X», simply select a new type of content from the dropdown below the AND label and repeat Step 3.

You can choose to negate conditions, meaning that if you negate the group «All posts with Category X», the level will get exclusive access to all content but that.

I added a Level to a user, but it can still see other content?

When you create an Access Level to restrict some content, only users with this level will be able to see that content.

An Access Level has two Default Access modes that can be changed from the Options tab:

  1. All unrestricted content (default): Members can also access all content that has not been restricted by other levels
  2. Restricted content only: Members can only access the content that has been restricted for this level

To prevent lockout, Administrators will have access to all content regardless of your levels.

Restricted content is still being displayed on archive pages or in widgets?

Restrict User Access does currently not support hiding single items from archive pages, search results, widgets or custom lists.

It is recommended only to show titles and excerpts in these cases.

Restricted file is still accessible with deep link?

Restrict User Access does currently not support restricting deep links to files, only attachment urls.

User still able to edit restricted content in Admin Dashboard?

Capabilities and Access Conditions serve different purposes and are not combined. Access Conditions are applied only to the frontend, while capabilities work throughout the site (both Admin Dashboard and frontend).

I have other questions, can you help?

Of course! Check out the links below:


22. juli, 2020
I'm trying to give access to content on a page for users who login. So, I added a login form to the page. When a user enters his name/password, he can see the protected content. So far, so good. However, the login form (above the protected content) remains visible after the user has logged in. This is very distracting; the user gets the impression he has to log in again (and again and again). Is there a way to hide the login form after a user has logged in?
13. juni, 2020
I've tried for ages to get this working, but I've given up. All I wanted was a way to restrict access to some pages to a set of logged-in users only. It seemed like this plugin would do it, but I didn't find the documentation very helpful as it doesn't seem to have been updated recently. It always seemed to be restricting access rather than enabling it. Anyway, I found a much simpler plugin that seems to do the job, so I've uninstalled this one, sadly.
9. juni, 2020
I have used the plugin for a while now, and I'm impressed! It does exactly what it should.
16. mai, 2020
This plugin does one thing: manage access to content according to set criterias. I built my own solution for membership using this with woocommerce and YITH AUTOMATIC ROLE CHANGER FOR WOOCOMMERCE, rather than buying an expensive license for an all-in-one solution. Works great for me, thanks!
Les alle 73 vurderinger

Bidragsytere og utviklere

“Restrict User Access – Membership Plugin with Force” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.


“Restrict User Access – Membership Plugin with Force” har blitt oversatt til 6 språk. Takk til oversetterne for deres bidrag.

Oversett “Restrict User Access – Membership Plugin with Force” til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.


Follow development and see all changes on GitHub



  • Added: default access option to lockdown levels
  • Added: exception conditions
  • Added: ability to unset capabilities on extended levels
  • Added: level manager shows inherited capabilities
  • Added: compatibility with wooselect
  • Updated: optimized and reduced plugin size with 26%
  • Updated: improved non-member redirection
  • Fixed: nav menu editor in wp5.4+ showing duplicate level options
  • Fixed: level member list would in some cases always redirect to page 1
  • Deprecated: negated conditions
  • Deprecated: simple date archive condition


  • Added: translatepress access condition
  • Added: wordpress 5.4 support
  • Added: minimum wordpress version 4.8
  • Updated: wp-content-aware-engine library
  • Updated: freemius sdk


  • Fixed: condition type cache would in some cases be primed with bad data
  • Fixed: edge case where negated conditions would be ignored


  • Added: condition type cache for improved performance
  • Added: categories and search in dropdown for access condition types
  • Added: filter to modify [restrict] shortcode
  • Added: filter to disable nav menu restrictions
  • Added: wordpress 5.3 support
  • Added: minimum wordpress version 4.6
  • Updated: ui improvements
  • Updated: wp-content-aware-engine library
  • Updated: wp-db-updater library
  • Updated: freemius sdk

See changelog.txt for previous changes.