Register taxonomies after post type

This commit is contained in:
Brian Miyaji
2015-04-24 11:42:31 +10:00
parent 7a794e92e2
commit 43069bc45c

View File

@@ -20,8 +20,8 @@ class SP_Post_types {
* Constructor
*/
public function __construct() {
add_action( 'init', array( __CLASS__, 'register_taxonomies' ), 5 );
add_action( 'init', array( __CLASS__, 'register_post_types' ), 5 );
add_action( 'init', array( __CLASS__, 'register_taxonomies' ), 10 );
add_action( 'wp_trash_post', array( $this, 'delete_config_post' ) );
add_filter( 'the_posts', array( $this, 'display_scheduled_events' ) );
}