Hi someone could you help me to retrieve the data if there are 2 subgroups for the main group?
sample:
<ul>
<li>references (group) (main)
<ul>
<li>all_column (group) (child in references)
<ul>
<li>1_column (group) (child in all_column)
<ul>
<li>name (field)</li>
<li>text (field)</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
How can i get the name and text (field)??
references (group) (main)
all_column (group) (child in references)
1_column (group) (child in all_column)
name (field)
text (field)
$references= get_field('references');
$all_columns = $references['all_columns'];
$column_1 = $all_columns['column_1'];
https://www.advancedcustomfields.com/resources/group/