Support

Account

Home Forums General Issues WordPress Advanced Custom field get_field_object('field_name') don't work Reply To: WordPress Advanced Custom field get_field_object('field_name') don't work

  • Ok, it works that way:`
    $fieldf = get_field_object('hair_color', $taxonomy . '_' . $term->term_id);
    $field = get_field('hair_color', $taxonomy . '_' . $term->term_id);
    $value = $fieldf['choices'][ $field ];
    echo $value`

    Thank you so much for your help