wp_blocks_delete
Delete a specific Gutenberg block from a WordPress post or page, using a reference to prevent overwriting changes. Optionally preview with dry-run.
Instructions
Delete one Gutenberg block. Hash references prevent overwriting a block changed since it was read. Supports dry-run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | ||
| ref | Yes | Post or page ID/slug | |
| dry_run | No | Preview changes without writing | |
| post_type | No | page | |
| allow_normalization | No | Allow saving when parse/serialize normalizes the original content | |
| if_unmodified_since | No | Fail if modified_gmt changed since this timestamp |