<div class="std-each-custom-field std-checkbox-wrap std-rounded">
    <div class="std-label">
        <label class="std-checkbox-label"><?php echo esc_html($field_label); ?></label>
    </div>
    <div class="std-checkbox-value" data-field-key="<?php echo esc_attr($field_key); ?>">
        <?php
        if (!empty($field_details['options'])) {
            $i = 0;
            foreach ($field_details['options'] as $option) {
        ?>
                <label>
                    <div class="std-checkbox-main"><input type="checkbox" name="<?php echo esc_attr($field_name) ?>[]" value="<?php echo esc_attr($field_details['values'][$i]); ?>" /><span class="std-checkbox-item"><?php echo esc_html($option); ?></span></div>
                </label>
        <?php
                $i++;
            }
        }
        ?>



    </div>
</div>