• Hi
    How can I restrict access to a page that uses a template and whose content is therefore “in the code” and not in the back office of wordpress?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    You can use WP’s is_user_logged_in() function to determine if a user is logged in.

    If you’re also incorporating specific membership content, then you can also check a user’s access level with wpmem_user_has_access()

Viewing 1 replies (of 1 total)
  • The topic ‘How to block content from a template page ?’ is closed to new replies.