Primary

[groups_can_not]

Limit content visibility

These shortcodes are used to limit the visibility of the content they enclose based on the absense of a capability related to the viewer’s user account. The capability attribute is required and can be used to indicate one or more comma-separated capabilities.

Example:

[groups_can_not capability="edit_posts"]
Users who can not edit posts will see this.
[/groups_can_not]