MediaWiki  master
MediaWiki\Hook\EmailUserCCHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\Hook\EmailUserCCHook:

Public Member Functions

 onEmailUserCC (&$to, &$from, &$subject, &$text)
 This hook is called before sending the copy of the email to the author. More...
 

Detailed Description

Stable for implementation.

Definition at line 11 of file EmailUserCCHook.php.

Member Function Documentation

◆ onEmailUserCC()

MediaWiki\Hook\EmailUserCCHook::onEmailUserCC ( $to,
$from,
$subject,
$text 
)

This hook is called before sending the copy of the email to the author.

Since
1.35
Parameters
MailAddress&$toMailAddress object of receiving user
MailAddress&$fromMailAddress object of sending user
string&$subjectSubject of the mail
string&$textText of the mail
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: