Redirect after Login based on user role
-
Hi there,
I’ve been using your plugin for a few days now and it’s really working great, so thank you for that! I have one question though. Is it possible to get two different redirects for users logging into their account based on their user role? I would like to get normal subscribers redirected to the customer dashboard and shop vendors to their vendor-dashboard. For now, I have only one redirect to the customer-dashboard which is working fine, vendors though do also get redirected there and not to the vendor-dashboard url. Thanks in advance!That’s the code I am using right now:
[wppb-login redirect_url="/customer-dashboard" register_url="/registration" lostpassword_url="/recover-your-password"]Kind regards
ValentineThe page I need help with: [log in to see the link]
The topic ‘Redirect after Login based on user role’ is closed to new replies.