Manual:Hooks/UserSaveSettings

From MediaWiki.org
Jump to: navigation, search
UserSaveSettings
Available from version 1.13.0
Called when saving user settings.

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

*Attach hook:
$wgHooks['UserSaveSettings'][] = 'MyExtensionHooks::someExample';
Called from: User.php

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


[edit] Details

  • $user: User object
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox