Content restriction code for custom PHP page
-
Hi,
I have a custom PHP page and I’m displaying it as custom template. I am using if (is_user_logged_in()) to check whether user is logged in. Is there a piece of code that I could add to my page so that the system would check whether user has also an active subscription plan?
Of course adding shortcode via WordPress to this page doesn’t work. I would need to edit this page in notepad and add something.
Please let me know.
Regards,
Przemyslaw
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Content restriction code for custom PHP page’ is closed to new replies.