Delete a term
wp_delete_termDelete a term from a taxonomy for good; terms have no trash. Posts lose the term (a post left without a category gets the default category), child terms move up to the deleted term's parent, and the term's meta is removed. The taxonomy's default term, such as the default category, is not deleted; it and an unknown term_id return an error. Needs the taxonomy's right to delete terms. Returns {deleted: true}. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term_id | Yes | Id of the term to delete. | |
| taxonomy | Yes | Taxonomy the term belongs to, e.g. "category" or "post_tag". |