This shortcode enables you to check if a user has access to a given page/post, defined by its ID.
It can be useful when used in conjunction with [mbr_page] to combine various content elements into a combined page.
[ELSE_is_allowed_access] conditional branching is supported.
Shortcode nesting is NOT supported.
|post_id||The page or post ID for which to check the current user’s access permissions.
Default: current post id.
If used and set to “yes” and the user is not logged in or does not have any “membership tags”, this parameter will cause the “ELSE” part of the shortcode to be suppressed This “condition within the condition” can be useful in some scenarios where the “ELSE” portion of the shortcode is only applicable to members of the site only, for example excluding visitors who are not logged in.
[mbr_is_allowed_access post_id='1234'] If yes, display this content. [ELSE_is_allowed_access] Otherwise, display this. [/mbr_is_allowed_access]