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
DestructiveDescription
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
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 }
]
} 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
- Removing a campaign menu
- Prompt: “Delete the old ‘Holiday Deals’ menu — the campaign is over.”
- Post-redesign cleanup
- Prompt: “Delete all menus that aren’t currently assigned to a theme location.”
- Removing test menus
- Prompt: “Delete the ‘Test Navigation’ menu I created while experimenting.”
- Site migration cleanup
- Prompt: “Remove all legacy menus from the old site structure.”
- 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.
Related Tools
MenusCreate a new WordPress navigation menu with a name and slug
Add a new item (page, post, URL, or category) to a WordPress navigation menu
Delete a single item from a WordPress navigation menu
Fetch a specific navigation menu and all its items by ID
List all items in a specific navigation menu with their order and hierarchy
List all registered WordPress navigation menus with IDs and locations
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_delete_menu and all 74 tools instantly.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.