Page MenuHomePhorge

GetIPHook.php
No OneTemporary

Size
512 B
Referenced Files
None
Subscribers
None

GetIPHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "GetIP" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface GetIPHook {
/**
* Use this hook to modify the IP of the current user (called only once).
*
* @since 1.35
*
* @param string &$ip IP as determined so far
* @return bool|void True or no return value to continue or false to abort
*/
public function onGetIP( &$ip );
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Sep 10, 14:09 (15 h, 49 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
58/20/53a546dcaa03be1874a3a902960f
Default Alt Text
GetIPHook.php (512 B)

Event Timeline