diff options
Diffstat (limited to 'extensions/ImageMap/ImageMap_body.php')
-rw-r--r-- | extensions/ImageMap/ImageMap_body.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/ImageMap/ImageMap_body.php b/extensions/ImageMap/ImageMap_body.php index 7b53285e..86a54f08 100644 --- a/extensions/ImageMap/ImageMap_body.php +++ b/extensions/ImageMap/ImageMap_body.php @@ -29,6 +29,15 @@ class ImageMap { const NONE = 4; /** + * @param Parser $parser + * @return bool + */ + public static function onParserFirstCallInit( Parser &$parser ) { + $parser->setHook( 'imagemap', array( 'ImageMap', 'render' ) ); + return true; + } + + /** * @param $input * @param $params * @param $parser Parser |