返回 WordPress

将 Knoon AI 与 WordPress 连接以自动化 AI 工作流。

Delete a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultDeletePost
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
名称类型描述必填
postTypemustache Optional collection slug. Defaults to posts.没有
postIdmustache WordPress post ID. Either postId or slug is required.没有
slugmustache Post slug. Either postId or slug is required.没有
forceboolean Force delete. Defaults to TRUE.没有
回报
名称类型描述
deletedbool True when deleted.
postIdstring Deleted post ID.
statusstring Previous post status.