The documentation for register_post_type
mentions a taxonomies
parameter, giving it a value of array( 'category' )
will do what you want.
There is also the register_taxonomy_for_object_type
function
The documentation for register_post_type
mentions a taxonomies
parameter, giving it a value of array( 'category' )
will do what you want.
There is also the register_taxonomy_for_object_type
function