<?php namespace ElementorPro\Modules\Forms\Actions; use Elementor\Controls_Manager; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Email2 extends Email { public function get_name() { return 'email2'; } public function get_label() { return esc_html__( 'Email 2', 'elementor-pro' ); } protected function get_control_id( $control_id ) { return $control_id . '_2'; } protected function get_reply_to( $record, $fields ) { return isset( $fields['email_reply_to'] ) ? $fields['email_reply_to'] : ''; } public function register_settings_section( $widget ) { parent::register_settings_section( $widget ); $admin_email = get_option( 'admin_email' ); $widget->update_control( $this->get_control_id( 'email_reply_to' ), [ 'type' => Controls_Manager::TEXT, 'default' => $admin_email, 'placeholder' => $admin_email, ] ); $widget->update_control( $this->get_control_id( 'form_metadata' ), [ 'default' => [], ] ); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
activecampaign.php | File | 9.07 KB | 0644 |
|
activity-log.php | File | 972 B | 0644 |
|
cf7db.php | File | 713 B | 0644 |
|
convertkit.php | File | 7.21 KB | 0644 |
|
discord.php | File | 5.83 KB | 0644 |
|
drip.php | File | 8.65 KB | 0644 |
|
email.php | File | 11.2 KB | 0644 |
|
email2.php | File | 1006 B | 0644 |
|
getresponse.php | File | 8.69 KB | 0644 |
|
mailchimp.php | File | 12.77 KB | 0644 |
|
mailerlite.php | File | 7.83 KB | 0644 |
|
mailpoet.php | File | 2.91 KB | 0644 |
|
mailpoet3.php | File | 3.49 KB | 0644 |
|
redirect.php | File | 1.79 KB | 0644 |
|
slack.php | File | 6.04 KB | 0644 |
|
webhook.php | File | 3.12 KB | 0644 |
|