PluginProbe
Pixelavo – Server Side Tracking & Pixel + AI Ads Tools / 1.0.8
Pixelavo – Server Side Tracking & Pixel + AI Ads Tools v1.0.8
1.5.5 1.5.4 trunk 1.0.0 1.0.1 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 All 47 releases
pixelavo / admin / settings-panel / includes / classes / Admin.php

Admin.php in Pixelavo – Server Side Tracking & Pixel + AI Ads Tools 1.0.8, at admin/settings-panel/includes/classes/Admin.php

40 lines 743 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace PixelavoOpt;
3
4 /**
5 * Admin class
6 */
7 class Admin {
8
9 /**
10 * Initialize the class
11 */
12 public function __construct() {
13 $this->includes();
14 $this->init();
15 }
16
17 /**
18 * Include the controller classes
19 *
20 * @return void
21 */
22 private function includes() {
23 if ( !class_exists( __NAMESPACE__ . '\Admin\Menu' ) ) {
24 require_once __DIR__ . '/Admin/Menu.php';
25 }
26 if ( !class_exists( __NAMESPACE__ . '\Admin\Options_Field' ) ) {
27 require_once __DIR__ . '/Admin/Options_field.php';
28 }
29 }
30
31 /**
32 * Admin Initilize
33 *
34 * @return void
35 */
36 public function init() {
37 (new Admin\Menu())->init();
38 }
39
40 }