Title: User role restriction
Last modified: July 16, 2021

---

# User role restriction

 *  [leslieannetd](https://wordpress.org/support/users/leslieannetd/)
 * (@leslieannetd)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/user-role-restriction/)
 * Hi, can your free plugin restrict content based on the user role?
    Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/user-role-restriction/#post-14680150)
 * Role restriction is not built into the native plugin, but you can certainly restrict
   content based on role using it. The `wpmem_securify` filter hook can be used 
   to create a filter function that would restrict content based on any criteria
   you build into your filter function:
 * [https://rocketgeek.com/plugins/wp-members/docs/filter-hooks/wpmem_securify/](https://rocketgeek.com/plugins/wp-members/docs/filter-hooks/wpmem_securify/)
 * You can also use the plugin’s “memberships” feature to restrict content, and 
   memberships can be tied to a role requirement for the user.
 * The plugin’s Advanced Options extension includes role restriction as a feature:
   
   [https://rocketgeek.com/plugins/wp-members-advanced-options/](https://rocketgeek.com/plugins/wp-members-advanced-options/)

Viewing 1 replies (of 1 total)

The topic ‘User role restriction’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/user-role-restriction/#post-14680150)
 * Status: not resolved