In plain English, I need the ability to “Search Users” in the admin area to find a user by last name.
I know there have been some issues with the User Search lately. I’m looking to extend the WP_User_Query to search the wp_usermeta table.
For example append the query for something like… WHERE meta_key = ‘last_name’ AND meta_value LIKE
I’m not looking for someone to write an SQL statement, but, has anyone come across this?
From what I can tell in the file user.php (3.1) The user query only includes a search in wp_users in the following tables..
- The topic ‘Possible to extend WP_User_Query?’ is closed to new replies.