wp_update_draft_page
Update an existing draft page. For published pages, creates a new draft instead of modifying the original. Never publishes content.
Instructions
Update an existing DRAFT page. If page is published, creates a new draft instead. Never publishes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| slug | No | ||
| title | No | ||
| parent | No | ||
| content | No | ||
| excerpt | No |