Update a post or page
wp_content_updateUpdate selected fields of a WordPress post or page without replacing unsupplied data. Use for partial content, status, metadata, or taxonomy edits; full Elementor rewrites use wp_el_set.
Instructions
Patch an existing item. Only supplied fields change. For a full Elementor rewrite use wp_el_set instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | No | ||
| slug | No | ||
| tags | No | ||
| type | No | post | |
| title | No | ||
| parent | No | ||
| status | No | ||
| content | No | ||
| excerpt | No | ||
| template | No | ||
| categories | No | ||
| menu_order | No | ||
| featured_media | No |