3

I want to add taxonomy to already registered custom post type. Is it possible or I have to delete and create that custom post type again??

1
  • 1
    Yes, totally possible, no need to create a new cpt Commented Sep 17, 2014 at 10:20

1 Answer 1

3

You want to use the register_taxonomy_for_object_type function documented here

add_action('init','fix_my_tax');    
function fix_my_tax(){
    register_taxonomy_for_object_type('taxonomy', 'post_type');
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.