\pm_Hook_Notifications

Hook for Notifications

Summary

Methods
Properties
Constants
getNotifications()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Methods

getNotifications()

getNotifications() : array

Retrieve the list of notifications

[
    'unique_notification_id' => [
         'title' => ''                   // notification's title which admin sees in UI
         'notifyAdmin' => true,          // by default notify admin
         'notifyResellers' => false,     // by default notify resellers
         'notifyClients' => false,       // by default notify clients
         'notifyCustomEmail' => false,   // by default send notification to a custom email
         'customEmail' => ''             // custom email address to notify
         'subject' => '',                // subject of email (placeholders allowed)
         'message' => ''                 // email's body (placeholders allowed)
     ]
    ...
]

Returns

array