ACF Group
Proste pobranie wartości pola Group
$field = get_field('hero'); if( $field ): echo $field['name']; endif;
Pobranie ID pola Group
$field = get_field_object('hero'); echo $field['ID'];
Pobranie wszystkich wartości pól pola Group
if(function_exists('acf_get_field_groups')) { $fieldGroup = acf_get_field_group('hero'); $fields = acf_get_fields_by_id(11); var_dump($fields); }