Black Friday Super Sale! 🔥 Enjoy a jaw-dropping discount of up to 50% OFF on all Nextend Social Login plans. Hurry, the offer ends on December 3rd!
Buy now

How to redirect user depending on role?

By combining the ‘nsl_login’ action and the ‘{{provider-id}}_login_redirect_url’ filter, you can control where the user with a specific role should land.

Example

In this example, you can see a basic code snippet which redirects the users with the “subscriber” role to a custom link.

🍪 We use cookies!

We use cookies to enhance your browsing experience, serve personalized content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. You can manage your preferences or learn more in our Cookie Policy.

Accept all
Reject all
Cookie Policy