PluginProbe
Team Showcase / trunk
Team Showcase vtrunk
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 trunk, at includes/class-settings.php

32 lines 606 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) exit; // if direct access
3
4
5 class team_class_settings
6 {
7
8
9 public function __construct()
10 {
11
12 add_action('admin_menu', array($this, 'admin_menu'), 12);
13 }
14
15
16 public function admin_menu()
17 {
18
19 add_submenu_page('edit.php?post_type=team', __('Settings', 'team'), __('Settings', 'team'), 'manage_options', 'team-settings', array($this, 'settings'));
20 }
21
22 public function settings()
23 {
24
25 //include( 'menu/settings-old.php' );
26 include('menu/settings.php');
27 }
28 }
29
30
31 new team_class_settings();
32