wp_posts_delete
Delete WordPress posts by ID. Moves to trash by default; permanently delete with force=true and confirmation.
Instructions
Delete a post. Default sends it to the trash (recoverable). Pass force=true with confirm="DELETE_PERMANENTLY_" to permanently delete (requires MODE=full).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| force | No | ||
| confirm | No |