Home › Forums › ACF PRO › Get Specific Field Group by ID › Reply To: Get Specific Field Group by ID
I just did a search of the ACF Pro code and that hook does not exist, and looking over the differences between 4 & 5 I’m not sure there is anything filter in 5 that does the same thing.
Instead you can use $fields = acf_get_fields($field_group);
in this case you you use the group key for $field_group
usually something like group_55fb4bc36306a
. There may be other functions as well that can do this. I’m also not sure if this will work with the ID value your using.
There also may be other functions that could do it but you may need to look into the ACF code.
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.