Usage:
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 [i4w_get_page] to combine various content elements into a combined page.
strong>[ELSE_user_no_access] conditional branching is supported.
Shortcode nesting is NOT supported.
Parameters:
post_id | The page or post ID for which to check the current user’s access permissions. Required: Yes. |
Example:
[i4w_user_no_access post_id='1234'] If user does NOT have access to given post/page, display this content. [ELSE_user_no_access] Otherwise, display this. [/i4w_user_no_access]
API:
There is no API function equivalent for this shortcode.