wp_update_cpt_item
Update existing custom post type items with full content, status, and metadata control. Creates a snapshot before each update to enable rollback if needed.
Instructions
Update an existing custom post type item (creates snapshot before update)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | No | ||
| slug | No | ||
| title | No | ||
| parent | No | ||
| status | No | ||
| content | No | ||
| excerpt | No | ||
| post_type | Yes | ||
| featured_media | No | ||
| scheduled_date | No | ISO or parseable date string to schedule publication |