Actions
Feature proposal #2480
closedimplement notification triggers
Description
Implement triggers to notifications so plugins can interact with all notifications sent.
Updated by krileon over 13 years ago
- Status changed from New to Resolved
- Target version changed from 2.4 to 2.3
- % Done changed from 0 to 100
Implemented in r1717
gj_onBeforeNotification and gj_onAfterNotification can now be used with the function variables as function( $email, $group, $category, $user, $plugin ) {... The $email is an array containing up to 7 variables which are 1:from id, 2:from name, 3:from email, 4:to id, 5:to email, 6:subject, 7:message.
Actions