File: //proc/self/root/usr/local/CyberCP/public/imunifyav/plib/hooks/Notifications.php
<?php
use \Imunify360\ImunifyLocale;
class Modules_Imunify360_Notifications extends pm_Hook_Notifications
{
public function getNotifications()
{
$defaultSubject = '<event_subject>';
$defaultMessage = '<event_details>';
return [
'admin_notification' => [
'title' => ImunifyLocale::lmsg('hooks.notification.title.admin'),
'notifyAdmin' => true,
'notifyResellers' => false,
'notifyClients' => false,
'notifyCustomEmail' => false,
'customEmail' => '',
'subject' => $defaultSubject,
'message' => $defaultMessage,
],
'reseller_notification' => [
'title' => ImunifyLocale::lmsg('hooks.notification.title.reseller'),
'notifyAdmin' => false,
'notifyResellers' => true,
'notifyClients' => false,
'notifyCustomEmail' => false,
'customEmail' => '',
'subject' => $defaultSubject,
'message' => $defaultMessage,
],
'client_notification' => [
'title' => ImunifyLocale::lmsg('hooks.notification.title.client'),
'notifyAdmin' => false,
'notifyResellers' => false,
'notifyClients' => true,
'notifyCustomEmail' => false,
'customEmail' => '',
'subject' => $defaultSubject,
'message' => $defaultMessage,
],
];
}
}