get_templates(); foreach ($templates as $template_path => $template_textdomain){ $tfixer = new Template_Fixer($template_path, $template_textdomain); $tfixer->fix_template(); } }