Page MenuHomeWickedGov Phorge

UserSetEmailAuthenticationTimestampHook.php
No OneTemporary

Size
745 B
Referenced Files
None
Subscribers
None

UserSetEmailAuthenticationTimestampHook.php

<?php
namespace MediaWiki\User\Hook;
use MediaWiki\User\User;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserSetEmailAuthenticationTimestamp" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface UserSetEmailAuthenticationTimestampHook {
/**
* This hook is called when setting the timestamp of a User's email authentication.
*
* @since 1.35
*
* @param User $user
* @param ?string &$timestamp new timestamp, change this to override local email
* authentication timestamp
* @return bool|void True or no return value to continue or false to abort
*/
public function onUserSetEmailAuthenticationTimestamp( $user, &$timestamp );
}

File Metadata

Mime Type
text/x-php
Expires
Oct 5 2026, 09:53 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f0/b6/a9af2c7abf0662b0a70cd194b4a3
Default Alt Text
UserSetEmailAuthenticationTimestampHook.php (745 B)

Event Timeline