| UserSetEmail | |
|---|---|
| Available fromversion 1.13.0 Called when changing user email address. | |
| Define function: | publicstaticfunctiononUserSetEmail(User$user,&$email){...} |
| Attach hook: | Inextension.json:{"Hooks":{"UserSetEmail":"MediaWiki\\Extension\\MyExtension\\Hooks::onUserSetEmail"}} |
| Called from: | File(s):User.php |
| Interface: | UserSetEmailHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:UserSetEmail extensions.
PrefsEmailAuditUserGetEmailUserSetEmailAuthenticationTimestampConfirmEmailCompleteInvalidateEmailCompleteisValidEmailAddrAuthManager::allowsPropertyChange( 'emailaddress' ) andPrimaryAuthenticationProvider::providerAllowsPropertyChange( 'emailaddress' )