wp_list_terms
Retrieves terms from a specified taxonomy, returning their IDs, names, slugs, parent terms, and post counts.
Instructions
List the terms in one taxonomy (id, name, slug, parent, post count).
Read-only. taxonomy is a slug from wp_list_taxonomies. search is an optional
simple filter on the term name. parent comes back as None on a flat taxonomy
(tags) - that means "no hierarchy", not "top level", which WordPress reports as 0.
Requires the REST transport.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| install | Yes | ||
| taxonomy | Yes |