Extension:Echo/Hooks/EchoAbortEmailNotification

From MediaWiki.org
Jump to navigation Jump to search
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.

Details[edit]

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