Skip to content

Commit 6f0df9e

Browse files
Update start.php
1 parent 1de618b commit 6f0df9e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

start.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,7 @@ function neve_run() {
5353
}
5454

5555
$autoloader->register();
56-
}
57-
58-
neve_run();
5956

60-
/**
61-
* Load core modules.
62-
*/
63-
function neve_core_loader() {
6457
if ( class_exists( '\\Neve\\Core\\Core_Loader' ) ) {
6558
new \Neve\Core\Core_Loader();
6659
}
@@ -78,4 +71,5 @@ function neve_core_loader() {
7871
\Neve_Pro\Core\Loader::instance();
7972
}
8073
}
81-
add_action( 'after_setup_theme', 'neve_core_loader' );
74+
75+
neve_run();

0 commit comments

Comments
 (0)