WordPress Login Redirect For Different User Roles
From time to time clients come to me requesting login redirects in WordPress. The following handy snippet below allows you to specify where the user lands once they've logged in, based on user roles. In the example, users with Administrator and Editor roles are redirected [...]