PluginProbe
Ever Compare – Products Compare Plugin for WooCommerce / trunk
Ever Compare – Products Compare Plugin for WooCommerce vtrunk
1.3.7 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 trunk 1.0.0 1.0.1 1.0.2 All 31 releases
ever-compare / includes / classes / Admin.php

Admin.php in Ever Compare – Products Compare Plugin for WooCommerce trunk, at includes/classes/Admin.php

35 lines 598 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace EverCompare;
3
4 defined( 'ABSPATH' ) || exit;
5
6 /**
7 * Admin handlers class
8 */
9 class Admin {
10
11 /**
12 * [$_instance]
13 * @var null
14 */
15 private static $_instance = null;
16
17 /**
18 * [instance] Initializes a singleton instance
19 * @return [Admin]
20 */
21 public static function instance() {
22 if ( is_null( self::$_instance ) ) {
23 self::$_instance = new self();
24 }
25 return self::$_instance;
26 }
27
28 /**
29 * Initialize the class
30 */
31 private function __construct() {
32 Admin\Dashboard::instance();
33 }
34
35 }