Support

Account

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);