Home › Forums › Backend Issues (wp-admin) › modify relashionship field to be able to search user meta › Reply To: modify relashionship field to be able to search user meta
The following hooks exist, but appear to be undocumented
acf/fields/user/query
acf/fields/user/query/name={$field_name}
acf/fields/user/query/key={$field_key}
there are 3 parameters, $args, $field & $post_id
https://codex.wordpress.org/Function_Reference/get_users
It works the same way as https://www.advancedcustomfields.com/resources/acf-fields-relationship-query/
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.