MediaWiki master
MediaWiki\User\Hook\UserGetEmailAuthenticationTimestampHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UserGetEmailAuthenticationTimestamp" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 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$user
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: