Home › Forums › ACF PRO › Print user fields with values corresponding to that user › Reply To: Print user fields with values corresponding to that user
When using the code you provided, it shows information for the post author user.
I can return the post author (and current user) ID just fine, but when it’s supposed to be appended like the_field('state', 'user_' . $other_user_id );
it doesn’t seem to work. If I change ‘user_’ to any user ID in use (i.e. ‘user_3’), it returns the right information in that field.
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.