Manual:Hooks/EchoAbortEmailNotification

Category:Extension hooks#EchoAbortEmailNotification
EchoAbortEmailNotification
Available from version ???
Final check on whether to send email for this user & event
Define function:
public static function onEchoAbortEmailNotification( User $user, EchoEvent $event ) { ... }
Attach hook:
$wgHooks['EchoAbortEmailNotification'][] = 'MyExtensionHooks::onEchoAbortEmailNotification';
Called from:File(s): Category:Extension hooks provided by EchoEcho / Notifier.php
Function(s): notifyWithEmail

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:EchoAbortEmailNotification extensions.

Details

  • $user: User object
  • $event: EchoEvent object