Page MenuHomeWickedGov Phorge

BeforeWelcomeCreationHook.php
No OneTemporary

Size
832 B
Referenced Files
None
Subscribers
None

BeforeWelcomeCreationHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "BeforeWelcomeCreation" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface BeforeWelcomeCreationHook {
/**
* This hook is called before the welcomecreation message is displayed to a newly created user.
*
* @since 1.35
*
* @param string &$welcome_creation_msg MediaWiki message name to display on the welcome screen
* to a newly created user account.
* @param string &$injected_html Any HTML to inject after the "logged in" message of a newly
* created user account
* @return bool|void True or no return value to continue or false to abort
*/
public function onBeforeWelcomeCreation(
&$welcome_creation_msg,
&$injected_html
);
}

File Metadata

Mime Type
text/x-php
Expires
Aug 14 2026, 19:05 (13 w, 11 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
12/ca/afcd6485a2e65264c2d0f316f86a
Default Alt Text
BeforeWelcomeCreationHook.php (832 B)

Event Timeline