Skip to content

Commit

Permalink
move all php file registration before Options for filter-ability
Browse files Browse the repository at this point in the history
  • Loading branch information
jGRUBBS committed Sep 16, 2024
1 parent d1fa55c commit 27532e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elastic-press.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ function init() {
*/
function load() {
CustomPostTypes::register_all();
register_php_file( 'functions.php' );
register_php_file('functions.php');
register_php_file('taxonomies.php');
register_php_file('fields.php');
Options\register_global_options();
Fields\register_fields();
register_php_file('fields.php');
register_php_file('taxonomies.php');
do_action( 'ep_after_load' );
}

Expand Down

0 comments on commit 27532e7

Please sign in to comment.