Template:MediaIncluHook

From MediaWiki.org
Jump to navigation Jump to search
Template documentation

Copy and paste template[edit]

MyHook
Available from version ???


Define function:
public static function onMyHook( $x, $y ) { ... }

Attach hook:
$wgHooks['MyHook'][] = 'MyExtensionHooks::onMyHook';
Called from:

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

{{MediaIncluHook
|name = MyHook
|version =
|gerrit =
|removed =
|summary =
|args = $x, $y
|source =
|sourcefunction =
|sourceclass =
|newvarname =
|newvarlink =
}}