Page MenuHomeWickedGov Phorge

UserLogoutCompleteHook.php
No OneTemporary

Size
765 B
Referenced Files
None
Subscribers
None

UserLogoutCompleteHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\User\User;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserLogoutComplete" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface UserLogoutCompleteHook {
/**
* This hook is called after a user has logged out.
*
* @since 1.35
*
* @param User $user the user object _after_ logout (won't have name, ID, etc.)
* @param string &$inject_html Any HTML to inject after the "logged out" message.
* @param string $oldName name of the user before logout (string)
* @return bool|void True or no return value to continue or false to abort
*/
public function onUserLogoutComplete( $user, &$inject_html, $oldName );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 19 2026, 17:28 (4 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0a/fc/967727696e47b67c4658a86e192d
Default Alt Text
UserLogoutCompleteHook.php (765 B)

Event Timeline