Template:MediaIncluHook

From Bonkipedia
Template documentation

Copy and paste template

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 =
}}