From 95eda14481323ccf98b531670c79eb10884cede8 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Tue, 9 Dec 2014 21:18:02 +1100 Subject: [PATCH] Remove unused modules menu --- includes/admin/class-sp-admin-menus.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/admin/class-sp-admin-menus.php b/includes/admin/class-sp-admin-menus.php index 6ef4dea3..65ec64eb 100755 --- a/includes/admin/class-sp-admin-menus.php +++ b/includes/admin/class-sp-admin-menus.php @@ -27,7 +27,6 @@ class SP_Admin_Menus { add_action( 'admin_menu', array( $this, 'overview_menu' ), 8 ); add_action( 'admin_menu', array( $this, 'leagues_menu' ), 9 ); add_action( 'admin_menu', array( $this, 'seasons_menu' ), 10 ); - add_action( 'admin_menu', array( $this, 'modules_menu' ), 11 ); add_action( 'admin_head', array( $this, 'menu_highlight' ) ); add_action( 'admin_head', array( $this, 'menu_rename' ) ); @@ -77,13 +76,6 @@ class SP_Admin_Menus { add_submenu_page( 'sportspress', __( 'Seasons', 'sportspress' ), __( 'Seasons', 'sportspress' ), 'manage_sportspress', 'edit-tags.php?taxonomy=sp_season'); } - /** - * Add menu item - */ - public function modules_menu() { - add_submenu_page( 'sportspress', __( 'Modules', 'sportspress' ), __( 'Modules', 'sportspress' ), 'manage_sportspress', 'sportspress-extend', array( $this, 'config_page' ) ); - } - /** * Highlights the correct top level admin menu item for post type add screens. *