How to prevent access to wp-admin for certain user roles?
Plugin It’s basically just a user capability check, followed by a redirect in an exit call. It then redirects to the site the request came from. <?php ! defined( ‘ABSPATH’ ) AND exit; /* Plugin Name: (#66093) »kaiser« Deny Admin-UI access for certain roles */ function wpse66093_no_admin_access() { // Do not run if the user … Read more