Register taxonomies after post type
This commit is contained in:
@@ -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' ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user