web_push_send
Triggered before sending of web push notifications.
Shop-Script
Input (passed by reference)
$params array Parameters.
$params['data'] array Data of an order for which a notification will be sent.
$params['notification_text'] string Web push notification text.
$params['data'] array Data of an order for which a notification will be sent.
$params['notification_text'] string Web push notification text.
… your plugin code …
Output
Shop-Script
Plugin code example
PHP
public function webPushSend(&$params) { shopMyPluginHelper::updateWebPushText($params); }