I don’t see in docs, is there a way to get a group of fields?
Example, i have group ‘Images’ with 5 fields for image, and I would like to get them all at once, not to fetch every single image.
Also, there are more groups of fields in sam edit, so I don’t need all fields, just a single group.
BR
Vlado
Hi @bobz
I think you will be interested in this thread:
http://support.advancedcustomfields.com/forums/topic/get-fields-in-a-group-or-tab-for-output/
Basically, all you need is the ID of the field_group, then you can run this filter to load in all the fields!
Hope that helps
E
Hi,
This helps but I don’t see a value user selected, only field info.
Or am I doing something wrong?
Hi @bobz
Yes, this is to only load the field information, you would then need to run the load_value filter to get values.
perhaps you should check out the get_field function in the /core/api.php file.
You will see how this works.
Cheers
E
Ok, thanks will check it out.
For now I have found my way
Cheers