MediaWiki REL1_35
MediaWiki\User\Hook\UserGetEmailAuthenticationTimestampHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\UserGetEmailAuthenticationTimestampHook:

Public Member Functions

 onUserGetEmailAuthenticationTimestamp ( $user, &$timestamp)
 This hook is called when getting the timestamp of email authentication.
 

Detailed Description

Stable to implement.

Definition at line 11 of file UserGetEmailAuthenticationTimestampHook.php.

Member Function Documentation

◆ onUserGetEmailAuthenticationTimestamp()

MediaWiki\User\Hook\UserGetEmailAuthenticationTimestampHook::onUserGetEmailAuthenticationTimestamp (   $user,
$timestamp 
)

This hook is called when getting the timestamp of email authentication.

Since
1.35
Parameters
User$userUser object
string&$timestampTimestamp. Change this to override the local email authentication timestamp.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: