bricks_wp_update_post
Update an existing WordPress post by sending only changed fields. Supports custom post types via post_type.
Instructions
Update an existing WordPress post. Only sends changed fields. Works on custom post types via post_type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag IDs | |
| title | No | New title | |
| status | No | New status: publish, draft, pending, private | |
| content | No | New content (HTML) | |
| excerpt | No | New excerpt | |
| post_id | Yes | Post ID to update | |
| post_type | No | REST base of the post type (default: posts). For a CPT pass its REST base, e.g. "service-area", "service", "faq". Look it up with bricks_get_post_types. | posts |
| categories | No | Category IDs | |
| featured_media | No | Featured image media ID |