1 | <?php |
||
23 | final class Elementor { |
||
24 | |||
25 | /** |
||
26 | * The single instance of the class |
||
27 | * |
||
28 | * @var object |
||
29 | * @since 3.0.0 |
||
30 | */ |
||
31 | protected static $_instance = null; |
||
32 | |||
33 | /** |
||
34 | * Return the single class instance |
||
35 | * |
||
36 | * @return object |
||
37 | * @since 3.0.0 |
||
38 | */ |
||
39 | public static function instance() { |
||
45 | |||
46 | /** |
||
47 | * Class constructor |
||
48 | * |
||
49 | * @uses is_admin() |
||
50 | * @uses add_filter() |
||
51 | * @uses add_action() |
||
52 | * |
||
53 | * @since 3.0.0 |
||
54 | */ |
||
55 | protected function __construct() { |
||
62 | |||
63 | /** |
||
64 | * Prevent the class from being cloned |
||
65 | * |
||
66 | * @return void |
||
67 | * @since 3.0.0 |
||
68 | */ |
||
69 | protected function __clone() { |
||
72 | /** |
||
73 | * Unregister Widget for Elementor plugin |
||
74 | * |
||
75 | * @uses unregister_widget() |
||
76 | * |
||
77 | * @return void |
||
78 | * @since 3.0.0 |
||
79 | */ |
||
80 | public function unregister_widget() { |
||
83 | |||
84 | } // END class |
||
85 | |||
87 |