get_current_language(); $is_all_languages = $this->is_all_languages(); $controls->add_language_warning(); if (!$controls->is_action()) { $controls->data = $this->get_options('', $current_language); } else { if ($controls->is_action('save')) { $this->save_options($controls->data, '', null, $current_language); $controls->data = $this->get_options('', $current_language); $controls->add_message_saved(); } if ($controls->is_action('reset')) { // On reset we ignore the current language $controls->data = $this->reset_options(); } } ?>

panel_help('https://www.thenewsletterplugin.com/documentation/cancellation') ?>
init(); ?>

button_save() ?> button_reset() ?>

wp_editor('unsubscribe_text', array('editor_height' => 250)); ?>

wp_editor('unsubscribed_text', array('editor_height' => 250)); ?>

email('unsubscribed', 'wordpress', $is_all_languages, array('editor_height' => 250)); ?>

wp_editor('error_text', array('editor_height' => 150)); ?>

Advanced

text_email('list_unsubscribe_mailto_header'); ?>

yesno('disable_unsubscribe_headers'); ?> field_help('https://www.thenewsletterplugin.com/documentation/subscribers-and-management/cancellation/#list-unsubscribe') ?>
yesno('notify_admin_on_unsubscription'); ?>
switch_to_all_languages_notice(); ?>
wp_editor('reactivated_text', array('editor_height' => 250)); ?>

button_save() ?> button_reset() ?>