Product SiteDocumentation Site

5.6. Notification Events

5.6.1. Recipient Selection

EVENT_NOTIFY_USER_INCLUDE (Default)

This event allows a plugin to specify a set of users to be included as recipients for a notification. The set of users returned is added to the list of recipients already generated from the existing notification flags and selection process.

Parameters

  • <Integer>: Bug ID
  • <String>: Notification type

Return Value

  • <Array>: User IDs to include as recipients

EVENT_NOTIFY_USER_EXCLUDE (Default)

This event allows a plugin to selectively exclude individual users from the recipient list for a notification. The event is signalled for every user in the final recipient list, including recipients added by the event NOTIFY_USER_INCLUDE as described above.

Parameters

  • <Integer>: Bug ID
  • <String>: Notification type
  • <Integer>: User ID

Return Value

  • <Boolean>: True to exclude the user, false otherwise