Server IP : 209.38.156.173 / Your IP : 216.73.216.0 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1534260/cwd/plugins/elementor-pro/modules/notes/notifications/ |
Upload File : |
<?php namespace ElementorPro\Modules\Notes\Notifications; use ElementorPro\Core\Integrations\Actions\Email\Email_Message; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class User_Resolved_Notification extends Base_Notes_Notification { protected function create_email_message( $notifiable ) { $subject = sprintf( /* translators: 1: Note ID, 2: Site name, 3: Page name. */ esc_html__( 'Note #%1$s resolved on %2$s - %3$s', 'elementor-pro' ), $this->note->get_thread_id(), get_bloginfo( 'name' ), $this->note->route_title ); return ( new Email_Message() ) ->from( ...$this->get_sender() ) ->to( $notifiable->user_email, $notifiable->display_name ) ->subject( $subject ) ->view( __DIR__ . '/views/email.php', [ 'actor' => $this->actor->display_name, /* translators: 1: User display name, 2: Page name, 3: Site name. */ 'heading' => __( '%1$s resolved a note on %2$s at %3$s', 'elementor-pro' ), 'page' => $this->note->route_title, 'site_name' => get_bloginfo( 'name' ), 'note_content' => $this->note->content, 'note_url' => $this->note->get_url(), ] ); } }