Searching by custom fields
Posted: January 11th, 2012, 1:40 pm
Firstly, great work on S2, it's extremely useful!
Now, I have a site which has a number of custom fields to be entered for various registration levels. Now, I want to display a list of users who have entered certain values into specific fields. I'm currently using a WP_User_Query to list all users, is there a way that I could use WP_User_Query or even a $wpdb->query() to perform a lookup on specific fields?
Thanks.
Now, I have a site which has a number of custom fields to be entered for various registration levels. Now, I want to display a list of users who have entered certain values into specific fields. I'm currently using a WP_User_Query to list all users, is there a way that I could use WP_User_Query or even a $wpdb->query() to perform a lookup on specific fields?
Thanks.