|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onUserMailerTransformContent ( $to, $from, &$body, &$error) | |
| This hook is called in UserMailer::send() to change email contents. | |
Stable to implement.
Definition at line 11 of file UserMailerTransformContentHook.php.
| MediaWiki\Hook\UserMailerTransformContentHook::onUserMailerTransformContent | ( | $to, | |
| $from, | |||
| & | $body, | ||
| & | $error | ||
| ) |
This hook is called in UserMailer::send() to change email contents.
| MailAddress[] | $to | Array of addresses of the targets |
| MailAddress | $from | Address of the sender |
| string | array | &$body | Email body, either a string (for plaintext emails) or an array with 'text' and 'html' keys |
| string | &$error | Error message |
Implemented in MediaWiki\HookContainer\HookRunner.