From 6f0df9e2e7b8e1dafec99f5777e6b60da1387fc5 Mon Sep 17 00:00:00 2001 From: vytisbulkevicius <36594177+vytisbulkevicius@users.noreply.github.com> Date: Fri, 22 Nov 2024 20:22:20 +0200 Subject: [PATCH] Update start.php --- start.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/start.php b/start.php index 1e2e26eb27..00f352ddf1 100644 --- a/start.php +++ b/start.php @@ -53,14 +53,7 @@ function neve_run() { } $autoloader->register(); -} - -neve_run(); -/** - * Load core modules. - */ -function neve_core_loader() { if ( class_exists( '\\Neve\\Core\\Core_Loader' ) ) { new \Neve\Core\Core_Loader(); } @@ -78,4 +71,5 @@ function neve_core_loader() { \Neve_Pro\Core\Loader::instance(); } } -add_action( 'after_setup_theme', 'neve_core_loader' ); + +neve_run();