Add Taxonomies
Last updated
Last updated
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 on creating a new taxonomy.
Taxonomies and post types can be created in any order.