using function call instead of direct static use for loading blade

This commit is contained in:
2023-07-28 11:37:28 -06:00
parent 197af28a18
commit 5dcffefefd

View File

@ -65,4 +65,4 @@ $blade = new BladeOne( __DIR__ . '/templates', __DIR__ . '/cache/blade' );
register_activation_hook( __FILE__, array( App::class, 'plugin_activation' ) );
register_deactivation_hook( __FILE__, array( App::class, 'plugin_deactivation' ) );
App::get_instance()->load_blade( $blade );
nmsp_plugin_app()->load_blade( $blade );