Home › Forums › ACF PRO › get_fields() but for Taxonomy › Reply To: get_fields() but for Taxonomy
After much scrutiny and a much needed lunch break, I found that the reason it returned false was $thing
needed to be the following:
$thing = $object['taxonomy'] . "_" . $object['id'];
My mistake! I was returning the slug of a specific ‘region’ instead of literally the taxonomy/term slug.
I accepted your answer, although there is a typo with a missing ‘}’
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.