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 and the right to delete this term (delete_term), which a site can withhold for single terms. Returns {deleted: true}. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"term_id": "<term_id>",
"taxonomy": "<taxonomy>"
},
"name": "wp_delete_term"
}
}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". |