From 43069bc45c71f31c4e7b3b29b80ad528c9fcf641 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Fri, 24 Apr 2015 11:42:31 +1000 Subject: [PATCH] Register taxonomies after post type --- includes/class-sp-post-types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-sp-post-types.php b/includes/class-sp-post-types.php index 2132f34e..53ad3e8e 100644 --- a/includes/class-sp-post-types.php +++ b/includes/class-sp-post-types.php @@ -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' ) ); }