Home › Forums › Backend Issues (wp-admin) › Retrieving Relationship Values in Admin Columns – Fetching the ID, not Name › Reply To: Retrieving Relationship Values in Admin Columns – Fetching the ID, not Name
This could be because a taxonomy field can hold an array or terms. You may need to do something like echo $term[0]->name;
Using the ID example
$terms = get_field('location_assign_client');
$term = get_term_by('id', $term[0], $YOUR_TAXONOMY);
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.