what hook should be used to restrict page access based on user
-
Is there a consensus of WHICH hook should be used to require a user to be logged in before view a certain page?
If yes, which one? Why is “that one” the correct answer?
My need:
home page: the public can view.
a subscriber page: ONLY a subscriber or admin can view this page.
an editor page: ONLY an editor or admin can view this page.
admin pages: ONLY admin can view these pages and any page.thank you.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘what hook should be used to restrict page access based on user’ is closed to new replies.