MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUserMailerTransformContent ( $to, $from, &$body, &$error) | |
This hook is called in UserMailer::send() to change email contents. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserMailerTransformContent" to register handlers implementing this interface.
Definition at line 14 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.