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
NameTypBeschreibungErforderlich
postTypemustache Optional collection slug. Defaults to posts.Nein
postIdmustache WordPress post ID. Either postId or slug is required.Nein
slugmustache Post slug. Either postId or slug is required.Nein
titlemustache Updated post title.Nein
htmlmustache Updated HTML content.Nein
markdownmustache Updated markdown content (converted to HTML when html is omitted).Nein
excerptmustache Updated excerpt.Nein
statusstring Updated post status.Nein
featuredMediaIdmustache Updated featured media ID.Nein
Rückgaben
NameTypBeschreibung
postIdstring WordPress post ID.
slugstring Post slug.
statusstring Post status.
urlstring Post permalink.
titlestring Rendered post title.
excerptstring Rendered post excerpt HTML.
contentstring Rendered post content HTML.
featuredMediaIdstring Featured media ID if set.
createdAtstring Post created datetime.
updatedAtstring Post last modified datetime.