Enhanced User Search: Effortlessly Find Your Users
Struggling to locate a specific user in the WordPress administration area? The standard user search can make it difficult to find people when you only know their name, phone number, company or another profile detail.
Enhanced User Search expands the existing WordPress Users search so you can find users using names, account details and safe custom user fields—all from the familiar Users screen.
This plugin is useful for anyone who manages WordPress users, especially:
Administrators can search by:
Multiple words use AND matching automatically.
For example, consider a user with:
The following searches can find the user:
CharlesKingCharles KingKing CharlesCharles AND KingCharles OR ChuckEach word can match a different searchable field. This means Charles King can find the user even when the display name is Chuck.
Use AND when every search term must match:
Charles AND King
Use OR when either search term can match:
Charles OR Chuck
The AND and OR operators are case-insensitive.
Safe custom user fields are searched automatically. There is no settings page and administrators do not need to select individual fields.
Searchable information can include:
This makes the plugin useful for membership sites, online stores, customer portals and websites with custom registration fields.
Common sensitive and internal fields are excluded automatically, including fields related to:
Custom-field values are used only to find matching users. The plugin does not display those values on the Users screen.
Enhanced User Search supports WordPress Multisite.
The plugin avoids joining user-meta records directly to the main user query. This prevents duplicate users and incorrect pagination when multiple custom fields match the same user.
The plugin uses the existing WordPress user-search interface.
It does not:
Developers can extend the list of exact user-meta keys excluded from search with the eus_excluded_meta_keys filter:
add_filter(
'eus_excluded_meta_keys',
function ( $keys ) {
$keys[] = 'private_customer_reference';
return $keys;
}
);
Developers can exclude keys containing a term with the eus_excluded_meta_key_fragments filter:
add_filter(
'eus_excluded_meta_key_fragments',
function ( $fragments ) {
$fragments[] = 'private_code';
return $fragments;
}
);
Developers can exclude keys beginning with a value with the eus_excluded_meta_key_prefixes filter:
add_filter(
'eus_excluded_meta_key_prefixes',
function ( $prefixes ) {
$prefixes[] = 'internal_';
return $prefixes;
}
);
Add these filters through a custom plugin, child theme or must-use plugin.