Primary

[groups_can]

Limit content visibility

These shortcodes are used to limit the visibility of the content they enclose based on capabilities. The capability attribute is required and can be used to indicate one or more comma-separated capabilities.

Example:

[groups_can capability="manage_options"]
Users who can manage options can see this.
[/groups_can]