Open main menu

Extension:Echo/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): 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.

DetailsEdit

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