MediaWiki REL1_35
MediaWiki\Hook\GetIPHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\GetIPHook:

Public Member Functions

 onGetIP (&$ip)
 Use this hook to modify the IP of the current user (called only once).
 

Detailed Description

Stable to implement.

Definition at line 9 of file GetIPHook.php.

Member Function Documentation

◆ onGetIP()

MediaWiki\Hook\GetIPHook::onGetIP ( $ip)

Use this hook to modify the IP of the current user (called only once).

Since
1.35
Parameters
string&$ipIP as determined so far
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: