PluginProbe
Team Showcase / 1.7
Team Showcase v1.7
trunk 1.0 1.1 1.11 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.22.0 1.22.1 1.22.10 1.22.12 1.22.13 1.22.14 All 49 releases
← All changes | includes/class-settings.php +11 -1 1.191.7 View file →
@@ -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