Delete a term
delete_termDelete a term from any taxonomy permanently. Requires confirmation as deletion is immediate and irreversible; content remains but loses the assignment.
Instructions
Delete a term from any taxonomy. Terms have no trash — deletion is immediate and permanent, so this reports what will be affected and requires confirm: true. Content assigned to the term is not deleted; it simply loses the assignment (posts losing their only category fall back to the default category).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The term ID to delete. | |
| confirm | No | Required — term deletion cannot be undone. | |
| 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. | |
| taxonomy | No | Taxonomy slug or REST base (category, post_tag/tags, or a custom one). | category |