Function __global->delete_all_notifications_on

Definitions

sources/notifications.php

  • Disable notifications for all members on a certain notification code+category.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$notification_code ID_TEXT No No required parameter N/A N/A The notification code
$notification_category ?SHORT_TEXT No No required parameter N/A N/A The category within the notification code (null: none)

Preview

Code (PHP)

/**
 * Disable notifications for all members on a certain notification code+category.
 *
 * @param  ID_TEXT $notification_code The notification code
 * @param  ?SHORT_TEXT $notification_category The category within the notification code (null: none)
 */

function delete_all_notifications_on(string $notification_code, ?string $notification_category)