Manual:Hooks/GetBlockedStatus
From MediaWiki.org
| GetBlockedStatus | |
|---|---|
| Available from version 1.6.0 Fired after the user's getBlockStatus is set. |
|
*Define function: |
function fnMyHook( $user ) { ... }
|
*Attach hook: |
$wgHooks['GetBlockedStatus'][] = 'MyExtensionHooks::someExample'; |
| Called from: | User.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:GetBlockedStatus extensions.
[edit] Details
$user - The user whose block status is being checked.