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.