Back to WordPress

Connect Knoon AI with WordPress to automate AI workflows.

Update an existing post/page/custom post type item.
wordpressXmlRpcDefaultDefaultUpdatePost
BETA
Internal
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
NameTypeDescriptionRequired
postTypemustache Optional collection slug. Defaults to posts.No
postIdmustache WordPress post ID. Either postId or slug is required.No
slugmustache Post slug. Either postId or slug is required.No
titlemustache Updated post title.No
htmlmustache Updated HTML content.No
markdownmustache Updated markdown content (converted to HTML when html is omitted).No
excerptmustache Updated excerpt.No
statusstring Updated post status.No
featuredMediaIdmustache Updated featured media ID.No
Returns
NameTypeDescription
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.