Function Hook_notification_ticket_new_staff->member_could_potentially_enable

Definitions

sources/hooks/systems/notifications/ticket_new_staff.php

  • Find whether a member could enable this notification (i.e. have permission to).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$notification_code ID_TEXT required parameter N/A N/A Notification code
$member_id MEMBER required parameter N/A N/A Member to check against
$category ?SHORT_TEXT Null N/A N/A The category within the notification code (null: none)

Return

  • Whether they could
  • Type: boolean
  • Set: N/A
  • Range: N/A