[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
atomic-form
/
actions
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 action-base.php
2,278 B
SET
[ EDIT ]
|
[ DEL ]
📄 action-runner.php
3,434 B
SET
[ EDIT ]
|
[ DEL ]
📄 action-type.php
693 B
SET
[ EDIT ]
|
[ DEL ]
📄 collect-submissions-action.php
4,232 B
SET
[ EDIT ]
|
[ DEL ]
📄 email-action.php
4,309 B
SET
[ EDIT ]
|
[ DEL ]
📄 email-settings.php
1,277 B
SET
[ EDIT ]
|
[ DEL ]
📄 webhook-action.php
3,496 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: email-settings.php
<?php namespace ElementorPro\Modules\AtomicForm\Actions; use ElementorPro\Core\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Email_Settings { private $email_settings; public function __construct( array $widget_settings ) { $this->email_settings = $widget_settings['email'] ?? []; } public function to() { return $this->email_settings['to'] ?? get_option( 'admin_email' ); } public function from() { return $this->email_settings['from'] ?? 'noreply@' . Utils::get_site_domain(); } public function from_name() { return $this->email_settings['from-name'] ?? get_bloginfo( 'name' ); } public function subject() { return $this->email_settings['subject'] ?? sprintf( /* translators: %s: Site title. */ __( 'New message from "%s"', 'elementor-pro' ), get_bloginfo( 'name' ) ); } public function message() { return $this->email_settings['message'] ?? '[all-fields]'; } public function reply_to() { return $this->email_settings['reply-to'] ?? $this->from(); } public function cc() { return $this->email_settings['cc'] ?? ''; } public function bcc() { return $this->email_settings['bcc'] ?? ''; } public function content_type() { return $this->email_settings['send-as'] ?? 'html'; } }