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