Current Path: > home > > transcarter > www > wp-content > > > > plugins > elementor-pro > core > notifications > traits
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.8 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
notifiable.php | File | 678 bytes | March 09 2023 22:15:56. |
<?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 ); } }
SILENT KILLER Tool