*/ class action_plugin_secedit2head extends ActionPlugin { /** @inheritDoc */ public function register(EventHandler $controller) { $controller->register_hook('TPL_ACT_RENDER', 'AFTER', $this, 'handleTplActRender'); } /** * Event handler for TPL_ACT_RENDER * * @see https://www.dokuwiki.org/devel:events:TPL_ACT_RENDER * @param Event $event Event object * @param mixed $param optional parameter passed when event was registered * @return void */ public function handleTplActRender(Event $event, $param) { ?>