Discover taxonomies
discover_taxonomiesList all taxonomies on a WordPress site, including categories, tags, and custom ones, with REST base, applicable post types, and hierarchy status. Identify taxonomies that are unavailable via REST.
Instructions
List every taxonomy on the site — categories, tags, and any custom taxonomy — with its REST base, which post types it applies to, and whether it is hierarchical. A taxonomy missing here is registered with show_in_rest => false and is unreachable over REST.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| for_type | No | Only taxonomies attached to this content type. |