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