Hide the content from members who are not associated with any level specified in the “levels” parameter.
So any member who is associated with even of the levels specified in the “levels” parameter will be displayed with the content in the shortcode.
Usage
[wlss_hide_from_members_not_associated_with_any_level levels="Level 1,, Level 2,, Level 3"]Your content here[/wlss_hide_from_members_not_associated_with_any_level]
Parameters
You can add the below parameters to the shortcode in order to configure it better to your own membership site’s structure:
Parameter Name | Required / Optional | Description |
levels | Required | levels names separated with the delimiter ,, |
delimiter | Optional | You can change the default delimiter ,, and use your own delimiter symbols |
Examples
Example #1:
John, one of the members, is registered to the Pro & Advanced levels
When using this shortcode and parameters as seen below the content will be hidden from John (no matching levels at all):
[wlss_hide_from_members_not_associated_with_any_level levels="Silver,,Gold,,Platinum"]Your content here[/wlss_hide_from_members_not_associated_with_any_level]
Example #2:
John, one of the members, is registered to the Silver, Pro, & Advanced levels
When using this shortcodes below the content will not be hidden from John (some matching levels):
[wlss_hide_from_members_not_associated_with_any_level levels=" Silver,,Gold,,Premium"]Your content here[/wlss_hide_from_members_not_associated_with_any_level]