Update Custom Post
wp_update_custom_postUpdate an existing item of any custom post type. Only provide fields you want to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID to update | |
| meta | No | Custom meta fields to update | |
| title | No | ||
| status | No | ||
| content | No | ||
| excerpt | No | ||
| site_id | No | Site ID to target (optional if you have only one connected site) | |
| rest_base | Yes | REST base of the post type |