[memb_group_is_member]

Description

The broadest group conditional, it matches owners, managers, and regular members alike. Use it to show group-specific content to anyone who belongs to a group: shared resources, group policies, member-only announcements.

When neither group_id nor team_id is set, the check passes for any active membership. With either set, the membership must match.

Shortcode Examples

[memb_group_is_member]Member content here[/memb_group_is_member]

Scoped to a group or team:

[memb_group_is_member group_id="5"]…[/memb_group_is_member]
[memb_group_is_member team_id="10"]…[/memb_group_is_member]

Shortcode Parameters

group_id

Scope the check to a specific group. Default: 0 (any).

team_id

Scope the check to a specific team. Default: 0 (any).

not

Inverts the result. Default: false.

Shortcode Attributes

Attribute Value
Conditional Yes
Nestable No
Accepts formatting Yes