using function call instead of direct static use for loading blade

This commit is contained in:
Brian 2023-07-28 11:37:28 -06:00
parent 197af28a18
commit 5dcffefefd
Signed by: brian
GPG Key ID: DE1A5390A3B84CD8

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 );