update_post
Modify a WordPress post by specifying its ID and updating only the fields you provide, such as title, content, status, categories, and tags.
Instructions
Update a post in WordPress site. Only provided fields will be updated.
Use HTML tags for content formatting. Date must be ISO 8601 format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | New publication date (ISO 8601 format) - default: None | |
| slug | No | New URL slug - default: None | |
| tags | No | New comma-separated list of tag IDs - default: None | |
| title | No | New title for the post - default: None | |
| format | No | New post format - default: None | |
| status | No | New status - default: None | |
| sticky | No | Whether the post should be sticky - default: None | |
| content | No | New content for the post (use HTML tags for formatting) - default: None | |
| excerpt | No | New excerpt - default: None | |
| post_id | Yes | ID of the post to update | |
| password | No | New password for the post - default: None | |
| author_id | No | New author ID - default: None | |
| categories | No | New comma-separated list of category IDs - default: None | |
| ping_status | No | New ping status - default: None | |
| comment_status | No | New comment status - default: None | |
| featured_media | No | New featured media ID - default: None |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||