Home › Forums › General Issues › Get Advanced Custom Field Group for specific taxonomy term › Reply To: Get Advanced Custom Field Group for specific taxonomy term
I am not 100% certain how acf_get_field_groups() works, but I have used it before. If you use the post_id argument
acf_get_field_groups(array('post_id' => '1293'));
and ACF filters the groups returned based on location rules, and the term is assigned to that post, then is should return the group that used when the term is selected.
But again, not 100% certain on that as I do not know if location rules effect the results.
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.