Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/member/member-roles-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ The `{exp:member:has_role}` tag allows you to display or hide its content depend

**Required** ID or role to check against. The content of the tag will be displayed if the user belongs to this role, otherwise `{if no_results}...{/if}` contents will be displayed.

It is possible to pass multiple roles by separating the ids with a `|` character. In this case, the content will be shown if the member belongs to at least one of the roles.

role_id="6|12"


#### `member_id=`

member_id="147"
Expand Down