Jump to content

Extension:Echo/Hooks/EchoAbortEmailNotification

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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

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