public static function templatePostRender($templateName, &$content, array &$containerData, XenForo_Template_Abstract $template) { $templatePostRender = new ThemeHouse_RedirectRules_Listener_TemplatePostRender($templateName, $content, $containerData, $template); list($content, $containerData) = $templatePostRender->run(); }