Initial commit, dashboard settings page seems to work fine.
This commit is contained in:
24
bootstrap.php
Normal file
24
bootstrap.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
use PluginNamespace\App;
|
||||
|
||||
/**
|
||||
| ----------------------------------------------------------------
|
||||
| Bootstrap
|
||||
| ----------------------------------------------------------------
|
||||
|
|
||||
| Place anything that needs to be configured/defined in this
|
||||
| file that needs to be set up before the plugin is
|
||||
| utilized by WordPress.
|
||||
|
|
||||
*/
|
||||
|
||||
require_once 'constants/http-codes.php';
|
||||
require_once 'constants/base.php';
|
||||
require_once 'constants/rewrites.php';
|
||||
|
||||
if ( ! function_exists( 'nmsp_plugin_app' ) ) {
|
||||
function nmsp_plugin_app(): App {
|
||||
return App::get_instance();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user