PluginProbe
Team Showcase / 1.16
Team Showcase v1.16
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
team / includes / class-settings.php

class-settings.php in Team Showcase 1.16, at includes/class-settings.php

51 lines 716 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * @Author ParaTheme
5 * Copyright: 2015 ParaTheme
6 */
7
8 if ( ! defined('ABSPATH')) exit; // if direct access
9
10
11 class team_class_settings {
12
13
14 public function __construct()
15 {
16
17
18 //$this->settings_page = new Team_Settings();
19
20
21 add_action( 'admin_menu', array( $this, 'admin_menu' ), 12 );
22
23 }
24
25
26 public function admin_menu() {
27 add_submenu_page( 'edit.php?post_type=team', __( 'Settings', 'team' ), __( 'Settings', 'team' ), 'manage_options', 'team-settings', array( $this, 'settings_page' ) );
28
29
30 }
31
32 public function settings_page(){
33
34 include( 'menu/settings.php' );
35
36 }
37
38
39
40
41
42
43
44
45
46 }
47
48
49 new team_class_settings();
50
51