Home › Forums › ACF PRO › Get all field groups related to post › Reply To: Get all field groups related to post
I am looking through ACF’s code. The function that supposed to return the field groups for an ID is:
/*
* acf_get_field_group
*
* This function will take either a post object, post ID or even null (for global $post), and
* will then return a valid field group array
But that’s not returning anything. Not even an empty array.
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.