Add Taxonomies
You can add new and existing taxonomies to a post type by passing the taxonomy name to the taxonomy()
method.
This method only attaches the taxonomy to the post type, to create a taxonomy see the documentation on creating a new taxonomy.
Taxonomies and post types can be created in any order.
Last updated