wp_delete_post
Delete a WordPress post by ID. Moves it to trash by default; set force to true to bypass trash and delete permanently.
Instructions
Delete a post (moves to trash, or permanently if force=true)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID | |
| site | Yes | Site id (see list_sites) | |
| force | No | Bypass trash and delete permanently |