< Manual:Hooks
GetLogTypesOnUser | |
---|---|
Available from version 1.23.0 Add log types where the target is a userpage | |
Define function: | public static function onGetLogTypesOnUser( &$types ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"GetLogTypesOnUser": "MyExtensionHooks::onGetLogTypesOnUser"
}
}
|
Called from: | File(s): specials/SpecialLog.php |
Interface: | GetLogTypesOnUserHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:GetLogTypesOnUser extensions.
Details
- &$types: Array of log types
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.