Setting the Relational Post Object to write back to the post (the german translation for this function is not entirely cleat BTW), changing the taxonomy selector to Radio Button (drop down seem to have a bug, as it mixes taxonomies translations) and opening and re-saving every member CPT did the trick, with the following code:
$tax = get_field_object("department"); $taxnum = $tax['value']; $taxtax = $tax['name']; $dept = get_term( $taxnum, $taxtax ); $deptname = $dept->name;
Now for the same fun in a repeating field group… yay!
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!
© 2022 Advanced Custom Fields.