Jump to content

Extension:Echo/Hooks/EchoAbortEmailNotification

From mediawiki.org
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): Echo / 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

[edit]
  • $user: User object
  • $event: EchoEvent object