[is_user_role]

Shows text by user role.

Attributes

roles
(required) User roles (comma separated).
Default: None
fallback
(optional) Text visible to other user roles.
Default: None

Examples

Example

[is_user_role roles="customer" fallback="This text is visible to other users."]This text is visible to customers.[/is_user_role]

Output

This text is visible to other users.
No comments yet.

Leave a Reply