Custom Post Type Toolswordpress_delete_custom_post
Custom Post Type Tools

wordpress_delete_custom_post

Delete a custom post by type and ID.

wordpress_delete_custom_post

Delete a custom post.

Parameters

ParameterTypeRequiredDescription
typestringYesPost type name
idnumberYesPost ID

Response

{
  "success": true,
  "deleted": true,
  "type": "product",
  "id": 3001
}

Example Prompts

  • "Delete product 3001"
  • "Remove portfolio item 42"
Was this page helpful?
Built with Documentation.AI

Last updated Dec 15, 2025