wp_delete_term is one of 214 MCP tools included in Easy MCP AI — the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

wp_delete_term

Destructive

Description

wp_delete_term removes a term from any registered taxonomy — built-in (category, post_tag), WooCommerce (product_cat, product_tag, product_brand), or any custom taxonomy. Capability is resolved dynamically per taxonomy, so the AI can only remove terms it's actually allowed to. Easy MCP AI exposes this directly to Claude, ChatGPT, Cursor, or any MCP-compatible AI so cleanup is a single sentence away — and every deletion is logged in the change history for review.

See it in action

Claude Desktop — MCP Connection
👤
Delete term 42 from the product_cat taxonomy.
🤖
Tool called wp_delete_term
{"status": "success"}

Done! I've used wp_delete_term to complete that for you.

Example Use Cases & Sample Prompts

  1. Remove an unused product category
    • Prompt: “Delete term 42 from the product_cat taxonomy.”
  2. Tag cleanup
    • Prompt: “Delete every tag with zero posts attached.”
  3. Custom taxonomy purge
    • Prompt: “Remove the ‘Deprecated’ term from the ‘genre’ taxonomy.”
  4. Brand consolidation
    • Prompt: “Delete the duplicate brand term ‘AcmeCorp’ — keep ‘Acme Corp’.”
  5. Pre-rename cleanup
    • Prompt: “Delete the empty ‘Misc’ category from product_cat before I re-create it with the right slug.”

Frequently Asked Questions

What does wp_delete_term do?

wp_delete_term removes a term from any registered taxonomy — built-in (category, post_tag), WooCommerce (product_cat, product_tag, product_brand), or any custom taxonomy. Capability is resolved dynamically per taxonomy, so the AI can only remove terms it's actually allowed to. Easy MCP AI exposes this directly to Claude, ChatGPT, Cursor, or any MCP-compatible AI so cleanup is a single sentence away — and every deletion is logged in the change history for review.

How do I use wp_delete_term with my AI assistant?

Install the Easy MCP AI WordPress plugin, generate an API token in your dashboard, and connect your AI client (Claude, ChatGPT, Cursor, or any MCP-compatible assistant). Then simply describe what you want in natural language — for example: "Delete term 42 from the product_cat taxonomy."

Do I need Easy MCP AI to use wp_delete_term?

Yes. wp_delete_term is one of 214 MCP tools bundled inside the Easy MCP AI WordPress plugin. Install the free plugin from WordPress.org, connect your AI client, and this tool becomes available immediately — no coding required.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_delete_term and all 96 core tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.

View Setup Guides →

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.