< Manual:Hooks
![]() | This deprecated feature should no longer be used, but is still available for reasons of backwards compatibility. This feature was deprecated in version 1.35.0. |
SpecialMuteSubmit | |
---|---|
Available from version 1.34.0 (Gerrit change 528272) Used only for instrumentation on SpecialMute | |
Define function: | public static function onSpecialMuteSubmit( $data ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"SpecialMuteSubmit": "MyExtensionHooks::onSpecialMuteSubmit"
}
}
|
Called from: | File(s): includes/specials/SpecialMute.php Function(s): onSubmit |
Interface: | SpecialMuteSubmitHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:SpecialMuteSubmit extensions.
Details
- $data: Array containing information about submitted options on SpecialMute form
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.