File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1111
1212use Exception ;
1313
14+ use WebDevStudios \CCForWoo \Utility \HealthPanel ;
1415use WebDevStudios \CCForWoo \Utility \PluginCompatibilityCheck ;
1516use WebDevStudios \OopsWP \Structure \ServiceRegistrar ;
1617use WebDevStudios \CCForWoo \View \ViewRegistrar ;
@@ -211,6 +212,7 @@ public function register_hooks() {
211212 add_action ( 'wp_enqueue_scripts ' , [ $ this , 'register_scripts ' ] );
212213 add_action ( 'admin_enqueue_scripts ' , [ $ this , 'admin_enqueue_scripts ' ], 99 );
213214 add_action ( 'init ' , [ $ this , 'load_plugin_textdomain ' ] );
215+ add_action ( 'init ' , [ $ this , 'load_health_panel ' ] );
214216
215217 register_activation_hook ( $ this ->plugin_file , [ $ this , 'do_activation_process ' ] );
216218 register_deactivation_hook ( $ this ->plugin_file , [ $ this , 'do_deactivation_process ' ] );
@@ -377,5 +379,9 @@ public function admin_enqueue_scripts() {
377379 public function load_plugin_textdomain () {
378380 load_plugin_textdomain ( 'constant-contact-woocommerce ' );
379381 }
382+
383+ public function load_health_panel () {
384+ new HealthPanel ();
385+ }
380386}
381387
You can’t perform that action at this time.
0 commit comments