← Back to Tools Reference
Download Plugin
wp_create_menu_item
Description
Use this tool to insert a new navigation item into a WordPress menu. Your AI can link to an existing page, post, category, tag, or any custom URL. You can set the label and specify where it should appear in the menu hierarchy.
See it in action
Claude Desktop — MCP Connection
👤
Add the new 'Pricing' page to the primary navigation menu.
🤖
Calling Tool: wp_create_menu_item
Done! I've used wp_create_menu_item to complete that for you.
{"status": "success"} Example Use Cases & Sample Prompts
- Adding a new page to navigation
- Prompt: “Add the new ‘Pricing’ page to the primary navigation menu.”
- Adding a custom link
- Prompt: “Add a ‘Blog’ link pointing to ‘/blog’ at the end of the header menu.”
- Building a dropdown
- Prompt: “Add three submenu items under ‘Services’ in the main menu: ‘SEO’, ‘Web Design’, and ‘Content’.”
- Adding a CTA to the menu
- Prompt: “Add a ‘Get Started’ link to the header menu as the last item, pointing to the /contact page.”
- Linking to a category
- Prompt: “Add a ‘Tutorials’ link to the blog navigation that points to the Tutorials category archive.”
Access this tool today
Install the Easy MCP AI plugin to securely expose wp_create_menu_item to Claude, ChatGPT, and more.