wp_cpt_create
Create entries for any WordPress custom post type by specifying post type and title. Set custom fields via meta; status defaults to draft.
Instructions
Create a new item of any Custom Post Type. Required: post_type, title. Defaults to draft status. Pass meta object to set custom fields (subject to register_post_meta + show_in_rest registration on the WP side).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| slug | No | ||
| title | Yes | ||
| status | No | draft | |
| content | No | ||
| excerpt | No | ||
| post_type | Yes |