Tilbake til WordPress
Koble til Knoon AI med WordPress for å automatisere AI-arbeidsflyter.
Create a new post/page/custom post type item in WordPress.
wordpressXmlRpcDefaultDefaultCreatePost
BETA
Intern
Tillatelser
Det finnes ingen elementer å vise.
Valgfrie tillatelser
Det finnes ingen elementer å vise.
Parametere
| Navn | Type | Beskrivelse | Påkrevd |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Nei |
| title | mustache | Post title. | Ja |
| slug | mustache | Optional post slug. | Nei |
| html | mustache | HTML post content. Required if markdown is omitted. | Nei |
| markdown | mustache | Markdown post content. Converted to HTML when html is omitted. | Nei |
| excerpt | mustache | Optional post excerpt. | Nei |
| status | string | Post status. Defaults to DRAFT. | Nei |
| featuredMediaId | mustache | Optional featured media ID. | Nei |
Returer
| Navn | Type | Beskrivelse |
|---|---|---|
| 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. |