MediaWiki  master
GetIPHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
12 interface GetIPHook {
21  public function onGetIP( &$ip );
22 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\GetIPHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetIPHook.php:12
MediaWiki\Hook\GetIPHook\onGetIP
onGetIP(&$ip)
Use this hook to modify the IP of the current user (called only once).