Manual:Hooks/UserSetEmailAuthenticationTimestamp
From MediaWiki.org
UserSetEmailAuthenticationTimestamp | |
---|---|
Available from version 1.13.0 Called when setting the timestamp of email authentification. |
|
Define function: |
public static function onUserSetEmailAuthenticationTimestamp( $user, &$timestamp ) { ... } |
Attach hook: |
$wgHooks['UserSetEmailAuthenticationTimestamp'][] = 'MyExtensionHooks::onUserSetEmailAuthenticationTimestamp'; |
Called from: | User.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:UserSetEmailAuthenticationTimestamp extensions.
[edit] Details
- $user: User object
- &$timestamp: new timestamp, change this to override local email authentification timestamp