Home › Forums › Front-end Issues › User Results: Change Text Display on Autocomplete › Reply To: User Results: Change Text Display on Autocomplete
Yes, the user field has similar filter hooks available, undocumented
acf/fields/user/query
and
acf/fields/user/result
but it does not appear that there are variations available
$item['text'] = apply_filters( 'acf/fields/user/result', $item['text'], $user, $query->field, $query->post_id );
return apply_filters( 'acf/fields/user/query', $args, $query->field, $query->post_id );
I do not know what is in the passed arguments
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.