File tree Expand file tree Collapse file tree 3 files changed +0
-333
lines changed
Expand file tree Collapse file tree 3 files changed +0
-333
lines changed Original file line number Diff line number Diff line change 1010if ( ! defined ( 'WPINC ' ) ) {
1111 exit ;
1212}
13-
1413/**
1514 * Main plugin class.
1615 *
@@ -99,7 +98,6 @@ public static function get_instance(): self {
9998 self ::$ instance = new self ();
10099 self ::$ instance ->init ();
101100 }
102-
103101 return self ::$ instance ;
104102 }
105103
@@ -123,10 +121,8 @@ private function init(): void {
123121 $ this ->styles = new Frontend \Styles_Handler ();
124122 $ this ->shortcodes = new Frontend \Shortcodes ();
125123 $ this ->blocks = new Frontend \Blocks \Blocks ();
126-
127124 // Load all hooks.
128125 new Hook_Loader ();
129-
130126 // Initialize admin on init action to ensure translations are loaded.
131127 add_action ( 'init ' , array ( $ this , 'init_admin ' ) );
132128 }
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments