In this document you will find all the available shortcodes in the Protection Add-On (8 in total).
You will find detailed information, including examples for each shortcode, by clicking on the shortcode itself.
Important Definitions
Here are 3 definitions that will help you better understand the content shortcodes:
- “Any level” – The member and the levels defined in the “levels” parameter have at least one level in common
- “All levels” – The member is associated with all the levels defined in the “levels” parameter, even if he is associated with other levels as well
- “Exact levels” – The member and the levels defined in the “levels” parameter have the exact same levels, no less, no more
The Shortcodes
Total number of paid posts under pay-per-post protection:
[wlss_payperpost_count]
Total number of paid pages under pay-per-post protection:
[wlss_payperpage_count]
Total number of unique protected posts and pages in a specific level as defined in the “levels” parameter:
[wlss_protected_posts_and_pages_count]
Total number of unique protected posts and pages in all levels:
[wlss_protected_posts_and_pages_in_all_levels]
Upgrade to the level/ levels defined in the “levels” parameter in a click of a button:
[wlss_add_to_levels_button]
Upgrade to the level/ levels defined in the “levels” parameter by accessing a specific content the shortcode was copied to:
[wlss_add_to_levels_redirection]
Grant access in a click of a button to post/ posts defined in the “posts” parameter:
[wlss_add_to_posts_button]
Grant access to post/ posts defined in the “posts” parameter by accessing a specific content:
[wlss_add_to_posts_redirection]