wp_delete_post
Trash or permanently delete WordPress posts by ID. Use force:true for permanent removal, or dry_run to preview changes without writing.
Instructions
Trash a WordPress post, or permanently delete it with force:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| force | No | ||
| dry_run | No | Preview changes without writing |