parent == 0) { $root_categories[] = $category; } } } return $root_categories; } } $comicpress_options_admin = new ComicPressOptionsAdmin(); function __comicpress_add_options_admin() { global $comicpress_options_admin; add_theme_page(__("ComicPress Options", 'comicpress'), __('ComicPress Options', 'comicpress'), 'edit_themes', basename(__FILE__), array($comicpress_options_admin, 'render_admin')); } ?>