Skip to content

Commit

Permalink
Update start.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vytisbulkevicius authored Nov 22, 2024
1 parent 1de618b commit 6f0df9e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions start.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand All @@ -78,4 +71,5 @@ function neve_core_loader() {
\Neve_Pro\Core\Loader::instance();
}
}
add_action( 'after_setup_theme', 'neve_core_loader' );

neve_run();

0 comments on commit 6f0df9e

Please sign in to comment.