Manual:Hooks/ConfirmEmailComplete
From Linux Web Expert
ConfirmEmailComplete | |
---|---|
<translate> Available from <tvar name=1><translate> version <tvar (r38040, codereview)</tvar></translate> Called after a user's email has been confirmed successfully | |
<translate> Define function:</translate> | public static function onConfirmEmailComplete( User $user ) { ... }
|
<translate> Attach hook:</translate> | <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
"Hooks": {
"ConfirmEmailComplete": "MediaWiki\\Extension\\MyExtension\\Hooks::onConfirmEmailComplete"
}
}
|
<translate> Called from:</translate> | <translate> File(s):</translate> user/User.php <translate> Function(s):</translate> confirmEmail |
<translate> Interface:</translate> | ConfirmEmailCompleteHook.php |
<translate> For more information about attaching hooks, see <tvar name=1>Manual:Hooks </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:ConfirmEmailComplete extensions</tvar>.</translate>
Details
$user
: User (object) whose email is being confirmed