Skip to content

Commit

Permalink
Use priority 5 in after_setup_theme hook. This way Checathlon plus pl…
Browse files Browse the repository at this point in the history
…ugin and child themes can more easily overwrite features.
  • Loading branch information
samikeijonen committed Apr 30, 2017
1 parent 3a426a8 commit 214aa40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function checathlon_setup() {
add_editor_style( array( 'assets/css/editor-style.css', checathlon_fonts_url() ) );

}
add_action( 'after_setup_theme', 'checathlon_setup' );
add_action( 'after_setup_theme', 'checathlon_setup', 5 );

/**
* Set the content width in pixels, based on the theme's design and stylesheet.
Expand Down

0 comments on commit 214aa40

Please sign in to comment.