Hello
I am reading this page https://www.advancedcustomfields.com/resources/group/ the part that says “This example demonstrates how to display the contents of a Group field.”
I want to iterate through values in a group field called Videos and then print those values out.
$videos = get_field('videos');
print_r($videos);
nothing is returned.
I can get individual fields by passing a field name and ID but how do I get an array of all of the group field values?
sorry a mistake, I actually have a bunch of group fields that I need to iterate through, as I have a videos post type. So each group field represents a video and then this has a bunch of fields like video name, id etc.
However I am still not understanding how to do this.