backend_notification_add
Allows adding custom content to the order action notification adding page.
Shop-Script
Input (passed by reference)
No specific parameters.
… your plugin code …
Output
{$backend_notification_add}
Custom HTML code. By default, it is placed within a hidden block; therefore it might be useful to also add some JavaScript code to display that hidden block.
Shop-Script
Plugin code example
PHP
public function backendNotificationAdd()
{
$message = _wp('Check the default notification subject.');
return <<<HTML
<div class="box state-error">
{$message}
</div>
<script>
\$('.notification-plugin-wrapper.add.{$this->id}-plugin').removeClass('hidden');
</script>
HTML;
}









