using function call instead of direct static use for loading blade
This commit is contained in:
parent
197af28a18
commit
5dcffefefd
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user