Trash Page
wp_trash_pageMove a WordPress page to trash. This does NOT permanently delete — the page can be recovered from trash. Use dry_run=true to preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The page 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) |