Zurück zu WordPress
Verbinde Knoon AI mit WordPress, um KI-Workflows zu automatisieren.
Create a new post/page/custom post type item in WordPress.
wordpressXmlRpcDefaultDefaultCreatePost
Beta
Intern
Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Optionale Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Parameter
| Name | Typ | Beschreibung | Erforderlich |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Nein |
| title | mustache | Post title. | Ja |
| slug | mustache | Optional post slug. | Nein |
| html | mustache | HTML post content. Required if markdown is omitted. | Nein |
| markdown | mustache | Markdown post content. Converted to HTML when html is omitted. | Nein |
| excerpt | mustache | Optional post excerpt. | Nein |
| status | string | Post status. Defaults to DRAFT. | Nein |
| featuredMediaId | mustache | Optional featured media ID. | Nein |
Rückgaben
| Name | Typ | Beschreibung |
|---|---|---|
| postId | string | WordPress post ID. |
| slug | string | Post slug. |
| status | string | Post status. |
| url | string | Post permalink. |
| title | string | Rendered post title. |
| excerpt | string | Rendered post excerpt HTML. |
| content | string | Rendered post content HTML. |
| featuredMediaId | string | Featured media ID if set. |
| createdAt | string | Post created datetime. |
| updatedAt | string | Post last modified datetime. |