wpsites.net
Redirect User To Specific Page Based On Their Capability After Logging In
This PHP code redirects any user who isn’t capable of updating the core (Only admins) to a specific url on your site. The PHP code includes the current_user_can() and wp_redirect() functions …