< Manual:Hooks
ExemptFromAccountCreationThrottle | |
---|---|
Available from version 1.19.0 (r95152, codereview) To add an exemption from the account creation throttle | |
Define function: | public static function onExemptFromAccountCreationThrottle( $ip ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"ExemptFromAccountCreationThrottle": "MyExtensionHooks::onExemptFromAccountCreationThrottle"
}
}
|
Called from: | File(s): specials/SpecialUserLogin.php |
Interface: | ExemptFromAccountCreationThrottleHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:ExemptFromAccountCreationThrottle extensions.
Details
Return false from the hook if the IP address should be exempted from the account creation throttle.
- $ip: The ip address of the user
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.