
If your membership has grown to a large number of users, you may be noticing a slow down of your admin user search. This recipe allows you to perform a search on a specific user or user meta field name including the login
, nicename
, email
, url
, and display_name
.
With this code in place, you can perform an optimized key-to-value search in the format email:address@domain.com
in either the Users or Members admin page.