PluginProbe
Ever Compare – Products Compare Plugin for WooCommerce / 1.2.8
Ever Compare – Products Compare Plugin for WooCommerce v1.2.8
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 / Frontend.php

Frontend.php in Ever Compare – Products Compare Plugin for WooCommerce 1.2.8, at includes/classes/Frontend.php

34 lines 620 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 /**
5 * Frontend handlers class
6 */
7 class Frontend {
8
9 /**
10 * [$_instance]
11 * @var null
12 */
13 private static $_instance = null;
14
15 /**
16 * [instance] Initializes a singleton instance
17 * @return [Base]
18 */
19 public static function instance() {
20 if ( is_null( self::$_instance ) ) {
21 self::$_instance = new self();
22 }
23 return self::$_instance;
24 }
25
26 /**
27 * Initialize the class
28 */
29 private function __construct() {
30 Frontend\Manage_Compare::instance();
31 Frontend\Shortcode::instance();
32 }
33
34 }