Manual:Hooks/ConfirmEmailComplete
Appearance
ConfirmEmailComplete | |
---|---|
Available from version 1.16.0 (r38040, CodeReview archive) Called after a user's email has been confirmed successfully | |
Define function: | public static function onConfirmEmailComplete( User $user ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"ConfirmEmailComplete": "MediaWiki\\Extension\\MyExtension\\Hooks::onConfirmEmailComplete"
}
}
|
Called from: | File(s): user/User.php Function(s): confirmEmail |
Interface: | ConfirmEmailCompleteHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:ConfirmEmailComplete extensions.
Details
[edit]$user
: User (object) whose email is being confirmed