# easy-elements/1.2.1/admin/settings-framework/fields/group.php

Easy Elements for Elementor – Addons &amp; Website Templates, version 1.2.1. 16 lines.

- Page: https://pluginprobe.com/plugins/easy-elements/1.2.1/code/admin/settings-framework/fields/group.php
- Raw: https://pluginprobe.com/plugins/easy-elements/1.2.1/raw/admin/settings-framework/fields/group.php
- Modified: 2025-12-02T11:10:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/easy-elements/1.2.1/code/admin/settings-framework/fields/group.php#L10-L20`.

```php
<?php
function easyel_field_group($field, $settings){
    echo '<div class="easyel-settings-field-group">';
    foreach($field['options'] as $sub){
        $name = $field['name'].'['.$sub['name'].']';
        $sub['full_name'] = $name;
        $value = $settings[$field['name']][$sub['name']] ?? ($sub['default'] ?? '');
        $type = $sub['type'];
        $file = __DIR__.'/'.$type.'.php';
        if(file_exists($file)) include $file;
        $fn = 'easyel_field_'.$type;
        if(function_exists($fn)) $fn($sub,$value);
    }
    echo '</div>';
}
?>
```
