Quay lại WordPress

Kết nối Knoon AI với WordPress để tự động hóa các quy trình làm việc AI.

Delete a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultDeletePost
BẢN THỬ NGHIỆM
Nội bộ
Quyền hạn
Không có mục nào để hiển thị.
Quyền hạn tùy chọn
Không có mục nào để hiển thị.
Tham số
TênLoạiMô tảBắt buộc
postTypemustache Optional collection slug. Defaults to posts.Không
postIdmustache WordPress post ID. Either postId or slug is required.Không
slugmustache Post slug. Either postId or slug is required.Không
forceboolean Force delete. Defaults to TRUE.Không
Trả về
TênLoạiMô tả
deletedbool True when deleted.
postIdstring Deleted post ID.
statusstring Previous post status.