Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4054749
AddNewAccountHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
734 B
Referenced Files
None
Subscribers
None
AddNewAccountHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "AddNewAccount" to register handlers implementing this interface.
*
* @deprecated since 1.27. Use LocalUserCreated instead. Emitting warnings since 1.41.
* @ingroup Hooks
*/
interface
AddNewAccountHook
{
/**
* This hook is called after a user account is created.
*
* @since 1.35
*
* @param User $user the User object that was created. (Parameter added in 1.7)
* @param bool $byEmail true when account was created "by email" (added in 1.12)
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onAddNewAccount
(
$user
,
$byEmail
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 15 2026, 23:33 (13 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fd/0c/584ce750d8e8c23361f348f544dc
Default Alt Text
AddNewAccountHook.php (734 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment