What does `register_taxonomy()` do and what is the relationship between taxonomies and post types?

WordPress Fundamental Medium

WordPress Fundamental — Medium

What does `register_taxonomy()` do and what is the relationship between taxonomies and post types?

Key points

  • `register_taxonomy()` creates custom taxonomies
  • Taxonomies can be associated with specific post types
  • This extends categorization beyond default options like categories and tags
  • It does not create new database tables or field types for editors

Ready to go further?

Related questions