1 | <?php |
||
18 | class LSX_Popup_Maker { |
||
19 | |||
20 | /** |
||
21 | * Holds class instance |
||
22 | * |
||
23 | * @since 1.0.0 |
||
24 | * @var object |
||
25 | */ |
||
26 | protected static $instance = null; |
||
27 | |||
28 | /** |
||
29 | * Setup class. |
||
30 | * |
||
31 | * @since 1.0 |
||
32 | */ |
||
33 | public function __construct() { |
||
34 | add_action( 'init', array( $this, 'remove_pop_up_controls_panel' ) ); |
||
35 | add_action( 'wp_enqueue_scripts', array( $this, 'lsx_popup_maker_scripts_add_styles' ) ); |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Return an instance of this class. |
||
40 | * |
||
41 | * @since 1.0.0 |
||
42 | * @return object A single instance of this class. |
||
43 | */ |
||
44 | public static function get_instance() { |
||
45 | // If the single instance hasn't been set, set it now. |
||
46 | if ( null === self::$instance ) { |
||
47 | self::$instance = new self(); |
||
48 | } |
||
49 | return self::$instance; |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * Popup_Maker enqueue styles. |
||
54 | * |
||
55 | * @package lsx |
||
56 | * @subpackage popup-maker |
||
57 | */ |
||
58 | public function lsx_popup_maker_scripts_add_styles() { |
||
60 | } |
||
61 | |||
62 | /** |
||
63 | * This removes the PUM pop up controls box. |
||
64 | * |
||
65 | * @return void |
||
66 | */ |
||
67 | public function remove_pop_up_controls_panel() { |
||
71 | } |
||
72 | } |
||
73 | } |
||
74 | |||
78 |