update_post
Update a post by ID, modifying only specified fields. Set status to publish or draft; empty HTML keeps body unchanged. Returns the updated post summary.
Instructions
Update an existing post by id; only the fields you pass are changed.
Pass status="published" to publish a draft, or status="draft" to
unpublish. An empty html is treated as "leave the body unchanged" (same
as create), so it never blanks a post. Returns the updated post summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| tags | No | ||
| title | No | ||
| status | No | ||
| excerpt | No | ||
| post_id | Yes | ||
| meta_title | No | ||
| feature_image | No | ||
| meta_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||