MediaWiki  master
GetIPHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
9 interface GetIPHook {
18  public function onGetIP( &$ip );
19 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\GetIPHook
Stable to implement.
Definition: GetIPHook.php:9
MediaWiki\Hook\GetIPHook\onGetIP
onGetIP(&$ip)
Use this hook to modify the IP of the current user (called only once).