MediaWiki  master
UserMailerTransformContentHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use MailAddress;
6 
25  public function onUserMailerTransformContent( $to, $from, &$body, &$error );
26 }
MediaWiki\Hook\UserMailerTransformContentHook
Stable to implement.
Definition: UserMailerTransformContentHook.php:11
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MailAddress
Stores a single person's name and email address.
Definition: MailAddress.php:34
MediaWiki\Hook\UserMailerTransformContentHook\onUserMailerTransformContent
onUserMailerTransformContent( $to, $from, &$body, &$error)
This hook is called in UserMailer::send() to change email contents.