Last active
May 1, 2019 17:39
-
-
Save thomasplevy/10f3255f17d6cd12ab4ecbfc046a47e0 to your computer and use it in GitHub Desktop.
[lifterlms_hide_content] shortcode examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[lifterlms_hide_content id="1"] | |
This will only display to a user with access to the post with an ID of 1. | |
[/lifterlms_hide_content] | |
[lifterlms_hide_content id="1,2,3,4" relation="any"] | |
This will be displayed only to a user with access to at least one of the posts in the list: 1, 2, 3, or 4. | |
[/lifterlms_hide_content] | |
[lifterlms_hide_content id="1,2,3,4" relation="all"] | |
This will be displayed only to a user with access to all of the posts in the list: 1, 2, 3, and 4. | |
[/lifterlms_hide_content] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment