Home › Forums › General Issues › Searching on Custom User Profile Fields › Reply To: Searching on Custom User Profile Fields
Hi @pursuit
Thanks for the question. This is something I have not yet documented, but WP has!
Just like the WP_Query class, there is a WP_User_Query class which you can use to search for uses based on args.
One of the args is for a custom field query. Here are some links to get you started:
http://codex.wordpress.org/Class_Reference/WP_User_Query
http://stackoverflow.com/questions/12392847/wordpress-user-query-order-by-meta-value
Hope that helps.
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.