MediaWiki REL1_40
MediaWiki\User\Hook\UserSetEmailAuthenticationTimestampHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onUserSetEmailAuthenticationTimestamp ( $user, &$timestamp)
 This hook is called when setting the timestamp of a User's email authentication.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file UserSetEmailAuthenticationTimestampHook.php.

Member Function Documentation

◆ onUserSetEmailAuthenticationTimestamp()

MediaWiki\User\Hook\UserSetEmailAuthenticationTimestampHook::onUserSetEmailAuthenticationTimestamp ( $user,
& $timestamp )

This hook is called when setting the timestamp of a User's email authentication.

Since
1.35
Parameters
User$user
?string&$timestampnew timestamp, change this to override 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: