1. Documentation
  2. Restrict Content
  3. [gamipress_post_restrictions]

[gamipress_post_restrictions]

Renders a desired post restrictions and/or the button to get access to users without access..

Attributes:

  • id – The ID of the post to render their restrictions and/or access button.
  • after_content_text – Display the configured text to be shown after replaced content. Accepts yes or no Default: yes
  • access_button – Display the access button. Accepts yes or no Default: yes

Example: [gamipress_post_restrictions id="123" after_content_text="yes" access_button="yes"]

Was this article helpful to you? Yes No

How can we help?