Zurück zu WordPress
Verbinde Knoon AI mit WordPress, um KI-Workflows zu automatisieren.
Update an existing post/page/custom post type item.
wordpressXmlRpcDefaultDefaultUpdatePost
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 |
| postId | mustache | WordPress post ID. Either postId or slug is required. | Nein |
| slug | mustache | Post slug. Either postId or slug is required. | Nein |
| title | mustache | Updated post title. | Nein |
| html | mustache | Updated HTML content. | Nein |
| markdown | mustache | Updated markdown content (converted to HTML when html is omitted). | Nein |
| excerpt | mustache | Updated excerpt. | Nein |
| status | string | Updated post status. | Nein |
| featuredMediaId | mustache | Updated 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. |