| Server IP : 198.54.115.198 / Your IP : 216.73.216.142 Web Server : LiteSpeed System : Linux server192.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : seatpheu ( 1569) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/seatpheu/public_html/wp-content/plugins/elementor-pro/core/notifications/ |
Upload File : |
<?php
namespace ElementorPro\Core\Notifications;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
abstract class Notification {
/**
* Get the payloads of the notification data shape (e.g. `Email_Message`, `Database_Message`). Those will automatically
* be sent over to the appropriate `Actions` under the `Integration_Manager` (using the `notify()` method).
* This method is also used to determine notification channels based on user ($notifiable) preferences.
*
* Returned shape:
* [
* $payload1_instance,
* $payload2_instance,
* ]
*
* @param \ElementorPro\Core\Notifications\Traits\Notifiable $notifiable - The notified model.
*
* @return array
*/
public function get_payloads( $notifiable ) {
return [];
}
}