Noptin_Email_Action::get_settings()
Source Source
File: includes/automation-rules/actions/class-noptin-email-action.php
public function get_settings() { return array( 'email_subject' => array( 'el' => 'input', 'label' => __( 'Email Subject', 'newsletter-optin-box' ), 'description' => __( 'What is the subject of the email?', 'newsletter-optin-box' ), ), 'email_preview' => array( 'el' => 'input', 'label' => __( 'Preview Text', 'newsletter-optin-box' ), 'description' => __( 'Enter an optional text that should be displayed next to the subject.', 'newsletter-optin-box' ), ), 'email_content' => array( 'el' => 'email_action_content', 'label' => __( 'Email Content', 'newsletter-optin-box' ), 'description' => __( 'Enter the email content. Shortcodes and merge tags are allowed.', 'newsletter-optin-box' ), ), 'permission_reminder' => array( 'el' => 'textarea', 'label' => __( 'Permission Reminder', 'newsletter-optin-box' ), 'description' => __( 'Shortcodes and merge tags are allowed.', 'newsletter-optin-box' ), 'default' => noptin()->mailer->get_permission_text( array() ), ), 'email_footer' => array( 'el' => 'textarea', 'label' => __( 'Footer Text', 'newsletter-optin-box' ), 'description' => __( 'Shortcodes and merge tags are allowed.', 'newsletter-optin-box' ), 'default' => noptin()->mailer->get_footer_text( array() ), ) ); }
Expand full source code Collapse full source code View on GitHub