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ên | Loại | Mô tả | Bắt buộc |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Không |
| postId | mustache | WordPress post ID. Either postId or slug is required. | Không |
| slug | mustache | Post slug. Either postId or slug is required. | Không |
| force | boolean | Force delete. Defaults to TRUE. | Không |
Trả về
| Tên | Loại | Mô tả |
|---|---|---|
| deleted | bool | True when deleted. |
| postId | string | Deleted post ID. |
| status | string | Previous post status. |