How would I go about suppressing the admin profile from appearing in the user list?
Thanks!
http://wordpress.org/extend/plugins/el-aleph/


//TODO: case admins, moderators, commenters, etc.
if (!empty($q['user_type'])) {
switch($q['user_type']) {
case 'authors':
$distinct .= 'DISTINCT';
$join .= " INNER JOIN $wpdb->posts ON ($wpdb->users.ID = $wpdb->posts.post_author) ";
$where .= " AND $wpdb->posts.post_type = 'post' AND $wpdb->posts.post_status = 'publish' ";
break;
case 'registered':
break;
default:
$where .= " AND 1=0 ";
break;
}
}case 'registered':
break;case 'registered':
$where .= " AND $wpdb->users.ID != '1' ";
break;


Users browsing this forum: No registered users and 1 guest