Function __global->_get_notification_ob_for_code

Definitions

sources/notifications.php

  • Find the notification object for a particular notification code.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$notification_code ID_TEXT required parameter N/A N/A The notification code to use
$notification_hook ?string Null N/A N/A Notification hook $notification_code exists in (null: auto-detect)

Return

  • Notification object (null: could not find)
  • Type: ?object
  • Set: N/A
  • Range: N/A