Update Post
wp_update_postUpdate an existing WordPress post. Only provide the fields you want to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The post ID to update | |
| tags | No | Array of tag IDs | |
| title | No | New post title | |
| author | No | New author user ID | |
| status | No | New post status | |
| content | No | New post content (HTML supported) | |
| excerpt | No | New post excerpt | |
| site_id | No | Site ID to target (optional if you have only one connected site) | |
| categories | No | Array of category IDs | |
| featured_media | No | Featured image media ID |