| @@ -1,8 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | /* |
| 4 | 4 | * @Author ParaTheme |
| 5 | +* @Folder Team/Includes | |
| 6 | +* @version 3.0.5 | |
| 7 | + | |
| 5 | 8 | * Copyright: 2015 ParaTheme |
| 6 | 9 | */ |
| 7 | 10 | |
| 8 | 11 | if ( ! defined('ABSPATH')) exit; // if direct access |
| @@ -18,14 +21,16 @@ | ||
| 18 | 21 | //$this->settings_page = new Team_Settings(); |
| 19 | 22 | |
| 20 | 23 | |
| 21 | 24 | add_action( 'admin_menu', array( $this, 'admin_menu' ), 12 ); |
| 22 | - | |
| 25 | + //add_action('admin_menu', array($this, 'create_menu')); | |
| 23 | 26 | } |
| 24 | 27 | |
| 25 | 28 | |
| 26 | 29 | public function admin_menu() { |
| 27 | 30 | add_submenu_page( 'edit.php?post_type=team', __( 'Settings', 'team' ), __( 'Settings', 'team' ), 'manage_options', 'team-settings', array( $this, 'settings_page' ) ); |
| 31 | + | |
| 32 | + //add_submenu_page( 'edit.php?post_type=team', __( 'License', 'team' ), __( 'License', 'team' ), 'manage_options', 'team-license', array( $this, 'license_page' ) ); | |
| 28 | 33 | |
| 29 | 34 | |
| 30 | 35 | } |
| 31 | 36 | |
| @@ -34,8 +39,13 @@ | ||
| 34 | 39 | include( 'menu/settings.php' ); |
| 35 | 40 | |
| 36 | 41 | } |
| 37 | 42 | |
| 43 | + public function license_page(){ | |
| 44 | + | |
| 45 | + include( 'menu/license.php' ); | |
| 46 | + | |
| 47 | + } | |
| 38 | 48 | |
| 39 | 49 | |
| 40 | 50 | |
| 41 | 51 | |