Manual:Hooks/SpecialListusersHeaderForm
Appearance
| SpecialListusersHeaderForm | |
|---|---|
| Available from version 1.13.0 called before adding the submit button in UsersPager::getPageHeader() | |
| Define function: | public static function onSpecialListusersHeaderForm( UsersPager &$pager, string &$beforeSubmitButtonHookOut ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"SpecialListusersHeaderForm": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialListusersHeaderForm"
}
}
|
| Called from: | File(s): Specials/Pager/UsersPager.php Function(s): getPageHeader |
| Interface: | SpecialListusersHeaderFormHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialListusersHeaderForm extensions.
Details
[edit]&$pager: The UsersPager instance&$beforeSubmitButtonHookOut: The header HTML