← Back to Tools Reference
Download Plugin
wp_delete_page
Description
Use this tool to remove a page from your site by moving it to trash or permanently deleting it. Your AI will typically list pages first to identify the correct page, then perform the deletion.
See it in action
Claude Desktop — MCP Connection
👤
Find the 'Black Friday 2023' page and delete it.
🤖
Calling Tool: wp_delete_page
Done! I've used wp_delete_page to complete that for you.
{"status": "success"} Example Use Cases & Sample Prompts
- Removing a retired offer
- Prompt: “Find the ‘Black Friday 2023’ page and delete it.”
- Cleaning up old campaign pages
- Prompt: “List all pages with ‘promo’ in the title and delete the ones that are still in draft.”
- Removing test pages
- Prompt: “Search for any pages with ‘test’ in their title and trash them.”
- Permanent deletion
- Prompt: “The ‘Old Home’ page is in the trash — permanently delete it to clean up the database.”
- Site restructure
- Prompt: “We are consolidating our service pages — find and delete the standalone ‘SEO Basic’ page since we merged it into our main Services page.”
Access this tool today
Install the Easy MCP AI plugin to securely expose wp_delete_page to Claude, ChatGPT, and more.