🔧 Bootloader: Remove unnecessary wrapping action from inside theme
This commit is contained in:
@@ -33,16 +33,14 @@ require $composer;
|
||||
|
|
||||
*/
|
||||
|
||||
add_action('after_setup_theme', function () {
|
||||
Application::configure()
|
||||
->withMiddleware(function (Middleware $middleware) {
|
||||
//
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions) {
|
||||
//
|
||||
})
|
||||
->boot();
|
||||
}, 0);
|
||||
Application::configure()
|
||||
->withMiddleware(function (Middleware $middleware) {
|
||||
//
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions) {
|
||||
//
|
||||
})
|
||||
->boot();
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user