update_post
Update a scheduled or draft post. Can change content, scheduled time (UTC, Y-m-d H:i:s), JSON-encoded options, or post_type. To convert a draft into a scheduled post, set post_type to scheduled and provide scheduled_at. post_type can be scheduled or draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | ||
| options | No | A JSON-encoded object of post option names and values, as returned by get_post_options. | {} |
| post_id | Yes | ||
| post_type | No | ||
| scheduled_at | No |