< Manual:Hooks 
 
      | UserSetEmailAuthenticationTimestamp | |
|---|---|
| Available from version 1.13.0 Called when setting the timestamp of email authentication. | |
| Define function: | public static function onUserSetEmailAuthenticationTimestamp( User $user, &$timestamp ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"UserSetEmailAuthenticationTimestamp": "MyExtensionHooks::onUserSetEmailAuthenticationTimestamp"
	}
}
 | 
| Called from: | File(s): user/User.php | 
| Interface: | UserSetEmailAuthenticationTimestampHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:UserSetEmailAuthenticationTimestamp extensions.
Details
- $user: User object
- &$timestamp: new timestamp, change this to override local email authentication timestamp
See also
- UserGetEmailAuthenticationTimestamp
- UserSetEmail
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.