Manual:Hooks/UserLoginForm

From MediaWiki.org

Jump to: navigation, search
UserLoginForm
Available from version 1.6.0
Change to manipulate the login form

*Define function:
function fnMyHook($template) { ... }

*Attach hook:
$wgHooks['UserLoginForm'][] = 'fnMyHook';
Called from: UserLogin.php

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


[edit] Details

  • $template: SimpleTemplate instance for the form
Personal tools