Order really shouldn’t really matter but it’s good practice to register things in a hierarchical structure.
register_post_type( $cpt, $args );
register_taxonomy( $catname, $cpt );
Order really shouldn’t really matter but it’s good practice to register things in a hierarchical structure.
register_post_type( $cpt, $args );
register_taxonomy( $catname, $cpt );