wp_delete_category
Delete a WordPress category by specifying its ID. Removes the category from your site without affecting posts.
Instructions
Deletes a category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| id | Yes | The ID of the category to delete. |