I am looking for a way to change the destination URL of a hyperlink based on the logged in user’s user role.
I will have 3 custom user roles:
The website will be a member’s only site, requiring each user to log in before seeing any content.
On the home page, I will have a BUTTON that when clicked, will redirect the user to one of three page versions dependent on their user role.
On button click:
Persona 1 – redirected to Page 1
Persona 2 – redirected to Page 2
Persona 3 – redirected to page 3
Any help in achieving this outcome is greatly appreciated.
Thanks in advance!
Read more here:: Conditionally change a hyperlink url based on user role