wp_delete_menu_item 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_item

Destructive

Description

Surgical removal of a single nav link — expired campaign, broken URL, or a duplicated item — is exactly what this tool does; the rest of the menu stays intact. Easy MCP AI targets the item by ID, so your AI client first reads the menu to confirm the right ID, then deletes with precision and no Customizer required. Easy MCP AI's audit log captures the operation, keeping destructive nav changes traceable when multiple AI clients share access.

See it in action

Claude Desktop — MCP Connection
👤
Remove the 'Old Blog' link from the footer menu.
🤖
Tool call wp_list_menu_items

Fetching footer menu items to locate "Old Blog"…

{
  "menu_id": 5,
  "menu_name": "Footer Links",
  "total": 4,
  "items": [
    { "id": 31, "title": "Privacy Policy", "url": "/privacy-policy/", "position": 1 },
    { "id": 32, "title": "Old Blog", "url": "https://old.example.com/blog/", "position": 2 },
    { "id": 33, "title": "Contact", "url": "/contact/", "position": 3 }
  ]
}
next step
Tool called wp_delete_menu_item
{
  "item_id": 32,
  "title": "Old Blog",
  "menu_id": 5,
  "deleted": true
}

Found 'Old Blog' (item #32) in Footer Links. It's been removed from the navigation.

Example Use Cases & Sample Prompts

  1. Removing an outdated link
    • Prompt: “Remove the ‘Old Blog’ link from the footer menu.”
  2. Post-campaign cleanup
    • Prompt: “Delete the ‘Black Friday Deals’ item from the header menu — the sale is over.”
  3. Simplifying navigation
    • Prompt: “Remove the three least-used items from the footer navigation.”
  4. Fixing a duplicate
    • Prompt: “There are two ‘About’ items in the main menu — delete the duplicate.”
  5. Restructuring a submenu
    • Prompt: “Remove all child items under ‘Services’ — I’m going to rebuild that submenu.”

Frequently Asked Questions

What does wp_delete_menu_item do?

Surgical removal of a single nav link — expired campaign, broken URL, or a duplicated item — is exactly what this tool does; the rest of the menu stays intact. Easy MCP AI targets the item by ID, so your AI client first reads the menu to confirm the right ID, then deletes with precision and no Customizer required. Easy MCP AI's audit log captures the operation, keeping destructive nav changes traceable when multiple AI clients share access.

How do I use wp_delete_menu_item 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: "Remove the 'Old Blog' link from the footer menu."

Do I need Easy MCP AI to use wp_delete_menu_item?

Yes. wp_delete_menu_item 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_item 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.