function custom_login_redirect($redirect_to, $request, $user) { if (isset($user->roles) && is_array($user->roles)) { if (in_array('administrator', $user->roles)) { return home_url('/admin-dashboard/'); } elseif (in_array('fse', $user->roles)) { return home_url('/fse-dashboard/'); } elseif (in_array('customer', $user->roles)) { return home_url('/customer-dashboard/'); } } return $redirect_to; } add_filter('login_redirect', 'custom_login_redirect', 10, 3); Lost Password ‹ FSE Management — WordPress

Lost Password

Powered by WordPress

Please enter your username or email address. You will receive an email message with instructions on how to reset your password.

← Go to FSE Management