Home › Forums › General Issues › Searching on Custom User Profile Fields › Reply To: Searching on Custom User Profile Fields
Hi @elliot,
The WP_User_Query class seems like a good way to search for users, but I currently do not see a way to make use of the class when an administrator searches for users in the Dashboard. If I were writing a separate search tool, the WP_User_Query class seems like it could work. But I want to tap into what WordPress already has in place.
Do you have any suggestions for how I can extend the functionality of WordPress’s existing user search tool?
A link to a pastebin of what I have in mind is below. (The code does not work as I expected it would.)
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.