function __before() { parent::__before(); $theme_location = $this->get_package_dir() . 'themes/admin'; //Load the front end instance loader $theme = Theme_Loader::get_instance(); $theme->set_theme($theme_location); $this->theme = $theme; ob_start(); }