<?php if(! defined('ABSPATH')) exit; ?>

<?php $campiTesto = annfu_get_testi_aggiuntivi(); ?>
<?php foreach ($campiTesto as $k => $v): ?>
    <div class="annfu_form_row">
        <p><?php echo esc_html($v) ?></p>
        <?php wp_editor(get_option('annfu_' . esc_attr($k)), 'annfu_' . esc_attr($k), ['textarea_name' => 'annfu_' . esc_attr($k), 'rows' => 10]) ?>
    </div>
<?php endforeach; ?>
<input type="submit" value="<?php echo esc_attr_e('Salva testi personalizzati', 'annuncifunebri-onoranza') ?>"
       class="button button-primary" id="submit" name="submit">
