Restriction based on the user capability
This restriction uses the capabilities of the user to determine whether to display or not a specific block.
Please note that the plugin allows you to either display additional information on the restriction (as we did in this demo page) or completely remove the block from the layout.
Example 1
This content will be display to user with the “edit_posts” capability. (E.g. Contributors, Editors.)

Example 2
This content below will be displayed to user with the “read” capability. (E.g. Subscribers.)

Example 3
This content below will be displayed to user with the “watch_lessons” capability. You can use custom capabilities for example to allow access to video lesson to the students of a class.

Example 4
This content below will be displayed to user with the “download_premium_content” capability. You can use custom capabilities for example to allow access to downloadable content only to paid subscribers.

Leave a Reply
Want to join the discussion?Feel free to contribute!