Submit Job button to link to different pages based on the role
I would like the button link to different pages based on the role of the user logged to the /submit-job/ page (for employer side ) and /my-dashboard/ (for job seeker side)
I am sure it is an if/else condition but I am not sure how to write or where to place in the file or maybe I am completely wrong.
Thanks in advance