wp_delete_menu is one of 162 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_menu

Destructive

Description

Campaign menus, test navigations, and legacy nav structures accumulate after every redesign — Easy MCP AI lets your AI client wipe the whole container, items and all, from a single conversational instruction. The deletion is permanent and cannot be undone, so Easy MCP AI's audit logging records exactly which AI client triggered it and when, giving you accountability without slowing down the workflow. Supported clients include Claude Desktop, n8n, Roo Code, and twelve others.

See it in action

Claude Desktop — MCP Connection
👤
Delete the old 'Holiday Deals' menu — the campaign is over.
🤖
Tool call wp_list_menus

Listing menus to find the one to delete…

{
  "total": 3,
  "menus": [
    { "menu_id": 3, "name": "Primary Navigation", "location": "primary", "item_count": 6 },
    { "menu_id": 7, "name": "Deprecated Menu", "location": null, "item_count": 2 },
    { "menu_id": 5, "name": "Footer Links", "location": "footer", "item_count": 4 }
  ]
}
next step
Tool called wp_delete_menu
{
  "menu_id": 7,
  "name": "Deprecated Menu",
  "deleted": true,
  "items_removed": 2
}

Found 'Deprecated Menu' (menu #7, unassigned). It's been deleted along with its 2 items.

Example Use Cases & Sample Prompts

  1. Removing a campaign menu
    • Prompt: “Delete the old ‘Holiday Deals’ menu — the campaign is over.”
  2. Post-redesign cleanup
    • Prompt: “Delete all menus that aren’t currently assigned to a theme location.”
  3. Removing test menus
    • Prompt: “Delete the ‘Test Navigation’ menu I created while experimenting.”
  4. Site migration cleanup
    • Prompt: “Remove all legacy menus from the old site structure.”
  5. Consolidating menus
    • Prompt: “Delete the ‘Mobile Menu’ since it’s now merged into the primary navigation.”

Frequently Asked Questions

What does wp_delete_menu do?

Campaign menus, test navigations, and legacy nav structures accumulate after every redesign — Easy MCP AI lets your AI client wipe the whole container, items and all, from a single conversational instruction. The deletion is permanent and cannot be undone, so Easy MCP AI's audit logging records exactly which AI client triggered it and when, giving you accountability without slowing down the workflow. Supported clients include Claude Desktop, n8n, Roo Code, and twelve others.

How do I use wp_delete_menu 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 the old 'Holiday Deals' menu — the campaign is over."

Do I need Easy MCP AI to use wp_delete_menu?

Yes. wp_delete_menu is one of 162 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_menu and all 74 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.