I have a
HTML page which I wanna use inside a
WordPress website. But this page should be only available to users who logged-in and non logged-in users should be redirected to login page. Since I need to check user status a
PHP page should do the job and if user is logged-in it returns the
is_user_logged_in function would do the job but I'm confusing how to implement it since I far as I read on plugin development my case doesn't fit neither in
Filters. Also do I need to place my own
PHP page there or this can be done via a built-in
WordPress page? If both, which one is recommended?
Note that the page address is always the same for all users.