< Manual:Hooks
| EmailUserComplete | |
|---|---|
| Available from version 1.4.0 Occurs after an email has been sent from one user to another | |
| Define function: | public static function onEmailUserComplete( &$address, &$from, &$subject, &$text ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"EmailUserComplete": "MyExtensionHooks::onEmailUserComplete"
}
}
|
| Called from: | File(s): specials/SpecialEmailUser.php |
| Interface: | EmailUserCompleteHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:EmailUserComplete extensions.
Details
- $to: address of receiving user
- $from: address of sending user
- $subject: subject of the mail
- $text: text of the mail
See also
- EmailUser
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.