Discover taxonomies
discover_taxonomiesList every WordPress taxonomy—categories, tags, custom—with REST base, post types, and hierarchy. Identify taxonomies missing from REST due to show_in_rest=false.
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. |