Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@thomasplevy
Last active May 1, 2019 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasplevy/10f3255f17d6cd12ab4ecbfc046a47e0 to your computer and use it in GitHub Desktop.
Save thomasplevy/10f3255f17d6cd12ab4ecbfc046a47e0 to your computer and use it in GitHub Desktop.
[lifterlms_hide_content] shortcode examples
[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