Home › Forums › General Issues › User field type › Reply To: User field type
The array it returns is the same as the array returned by the_author_meta. Thus, you can get any of the info stored therein (see Parameters on the linked page).
First store the array as a variable, then select the ID.
$select_staff = the_sub_field('select_staff');
$select_staff_id = $select_staff('ID');
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.