Page MenuHomeWickedGov Phorge

UserGetEmailHook.php
No OneTemporary

Size
603 B
Referenced Files
None
Subscribers
None

UserGetEmailHook.php

<?php
namespace MediaWiki\User\Hook;
use MediaWiki\User\User;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserGetEmail" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface UserGetEmailHook {
/**
* This hook is called when getting an user email address.
*
* @since 1.35
*
* @param User $user
* @param string &$email Email, change this to override local email
* @return bool|void True or no return value to continue or false to abort
*/
public function onUserGetEmail( $user, &$email );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 23:45 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1b/b9/4340cef281dbce73fb2ea1c34271
Default Alt Text
UserGetEmailHook.php (603 B)

Event Timeline