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