PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.5.2
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.5.2
3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / includes / admin / settings / class-evf-settings-email.php
everest-forms / includes / admin / settings Last commit date
class-evf-setting-utilities.php 3 months ago class-evf-settings-advanced.php 4 weeks ago class-evf-settings-email.php 4 weeks ago class-evf-settings-general.php 3 months ago class-evf-settings-integrations.php 3 months ago class-evf-settings-page.php 3 months ago class-evf-settings-payments.php 4 weeks ago class-evf-settings-reporting.php 2 years ago class-evf-settings-security.php 3 months ago class-evf-settings-validation.php 11 months ago
class-evf-settings-email.php
110 lines
1 <?php
2 /**
3 * EverestForms Email Settings
4 *
5 * @package EverestForms\Admin
6 * @version 1.0.0
7 */
8
9 defined( 'ABSPATH' ) || exit;
10
11 if ( class_exists( 'EVF_Settings_Email', false ) ) {
12 return new EVF_Settings_Email();
13 }
14
15 /**
16 * EVF_Settings_Email.
17 */
18 class EVF_Settings_Email extends EVF_Settings_Page {
19
20 /**
21 * Constructor.
22 */
23 public function __construct() {
24 $this->id = 'email';
25 $this->label = esc_html__( 'Email', 'everest-forms' );
26
27 parent::__construct();
28 }
29
30 /**
31 * Get settings array.
32 *
33 * @return array
34 */
35 public function get_settings() {
36 $settings = apply_filters(
37 'everest_forms_email_settings',
38 array(
39 array(
40 'title' => esc_html__( 'Template Settings', 'everest-forms' ),
41 'type' => 'title',
42 'desc' => '',
43 'id' => 'email_template_options',
44 ),
45 array(
46 'title' => esc_html__( 'Template', 'everest-forms' ),
47 'type' => 'radio-image',
48 'id' => 'everest_forms_email_template',
49 'desc' => esc_html__( 'Determine which format of email to send. HTML Template is default.', 'everest-forms' ),
50 'default' => 'default',
51 'options' => array(
52 'default' => array(
53 'name' => esc_html__( 'HTML Template', 'everest-forms' ),
54 'image' => plugins_url( 'assets/images/email-template-html.png', EVF_PLUGIN_FILE ),
55 ),
56 'none' => array(
57 'name' => esc_html__( 'Plain text', 'everest-forms' ),
58 'image' => plugins_url( 'assets/images/email-template-plain.png', EVF_PLUGIN_FILE ),
59 ),
60 ),
61 ),
62 array(
63 'title' => esc_html__( 'Enable copies', 'everest-forms' ),
64 'desc' => esc_html__( ' Enable this option to send email copies to additional recipients using CC (visible) or BCC (hidden).', 'everest-forms' ),
65 'id' => 'everest_forms_enable_email_copies',
66 'default' => 'no',
67 'type' => 'toggle',
68 'desc_tip' => true,
69 ),
70 array(
71 'id' => 'everest_forms_email_send_to',
72 'title' => esc_html__( 'Send Test Email To', 'everest-forms' ),
73 'desc' => esc_html__( 'Enter the email address where test email will be sent.', 'everest-forms' ),
74 'input_id' => 'everest_forms_email_send_to',
75 'placeholder' => 'eg. testemail@gmail.com',
76 'input_type' => 'email',
77 'default' => get_option( 'everest_forms_email_send_to', '' ) ? esc_attr( get_option( 'everest_forms_email_send_to', '' ) ) : esc_attr( get_bloginfo( 'admin_email' ) ),
78 'button_id' => 'everest_forms_email_test',
79 'type' => 'input_test_button',
80 'input_css' => 'margin-right:0.5rem',
81 'buttons' => array(
82 array(
83 'title' => __( 'Send Test Email', 'everest-forms' ),
84 'href' => 'javascript:;',
85 'class' => 'everest_forms_send_email_test',
86 ),
87 ),
88 'desc_tip' => true,
89 ),
90 array(
91 'type' => 'sectionend',
92 'id' => 'email_template_options',
93 ),
94 )
95 );
96
97 return apply_filters( 'everest_forms_get_settings_' . $this->id, $settings );
98 }
99
100 /**
101 * Save settings.
102 */
103 public function save() {
104 $settings = $this->get_settings();
105
106 EVF_Admin_Settings::save_fields( $settings );
107 }
108 }
109
110 return new EVF_Settings_Email();