Manual:Hooks/LogPageValidTypes

From MediaWiki.org

Jump to: navigation, search
LogPageValidTypes
Available from version 1.5.0


*Define function:
function fnMyHook(&$types) { ... }

*Attach hook:
$wgHooks['LogPageValidTypes'][] = 'fnMyHook';
Called from: LogPage.php: LogPage.validTypes()

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:LogPageValidTypes extensions.


[edit] Details

  • $type: array of strings

[edit] See also

Personal tools