List of allowed user roles on current page
-
Hi,
And thanks for this plugin!
I’m using it to restrict access to some frontend pages based on user roles.
This works in preventing users to access the content on the page.However,I would like to automatically redirect these users to a login page, if they do not belong to any of the allowed user roles for that page. Would that be possible via code?
Something like :if
user is not in list of allowed roles for THIS page)
then
redirect to specific pageThanks,
Carlo
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘List of allowed user roles on current page’ is closed to new replies.