Trash Post
wp_trash_postMove a WordPress post to trash. This does NOT permanently delete — the post can be recovered from trash within 30 days. Use dry_run=true to preview what will be trashed without executing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The post ID to trash | |
| dry_run | No | If true, shows what would be trashed without actually doing it | |
| site_id | No | Site ID to target (optional if you have only one connected site) |