1 | <?php |
||
33 | class Tabify_Edit_Screen { |
||
34 | |||
35 | public $version = '1.0.0'; |
||
36 | |||
37 | private $loaded_features = array(); |
||
38 | |||
39 | /** |
||
40 | * Construct method to add hooks when on the admin side |
||
41 | * |
||
42 | * @since 0.1.0 |
||
43 | */ |
||
44 | public function __construct() { |
||
45 | if ( is_admin() ) { |
||
|
|||
46 | add_action( 'plugins_loaded', array( $this, 'load' ) ); |
||
47 | add_action( 'plugins_loaded', array( $this, 'load_translation' ) ); |
||
48 | } |
||
49 | } |
||
50 | |||
51 | |||
52 | /** |
||
53 | * Load functionality |
||
54 | * |
||
55 | * @since 0.9.0 |
||
56 | */ |
||
57 | public function load() { |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * Load Translations |
||
69 | * |
||
70 | * @since 0.4.0 |
||
71 | */ |
||
72 | public function load_translation() { |
||
74 | } |
||
75 | |||
76 | /** |
||
77 | * Load features |
||
78 | * |
||
79 | * @since 0.9.0 |
||
80 | */ |
||
81 | public function load_features() { |
||
98 | } |
||
99 | } |
||
100 | |||
101 | } |
||
102 | |||
103 | $GLOBALS['tabify_edit_screen'] = new Tabify_Edit_Screen(); |