Home › Forums › Front-end Issues › User field – Select2 doesn't search for names › Reply To: User field – Select2 doesn't search for names
I was going to tell you there were some new filters, but then I went and read this: https://codex.wordpress.org/Function_Reference/get_users
Under search it says:
search – Use this argument to search users by email address, URL, ID or username (this does not currently include display name).
This is something that is lacking in WP and searching by display name is not currently available. This is something that needs to be taken up with the WP team. There may already be something about this on trac https://core.trac.wordpress.org/
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.