Support » Plugin: Simple Membership » Is protected page function

  • Resolved Gustavo Cieslar



    I’m using SM and bought the Form Builder addon, excelent plugin!

    I need to detect programmatically if a page is protected or not, so I can add a new class to the content wrapper. Something like a “is_protected_page()” function, so I can know whether the current page has any protection applied or not, regardless the usser is logged in or not.

    I can’t find this feature in the documentation.

    Thanks a lot!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Is protected page function’ is closed to new replies.