WordPress로 돌아가기
Knoon AI를 WordPress과 연결하여 AI 워크플로우를 자동화하세요.
Delete a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultDeletePost
베타
내부
권한
표시할 항목이 없습니다.
선택사항 권한
표시할 항목이 없습니다.
매개변수
| 이름 | 유형 | 설명 | 필수 |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | 아니요 |
| postId | mustache | WordPress post ID. Either postId or slug is required. | 아니요 |
| slug | mustache | Post slug. Either postId or slug is required. | 아니요 |
| force | boolean | Force delete. Defaults to TRUE. | 아니요 |
반환값
| 이름 | 유형 | 설명 |
|---|---|---|
| deleted | bool | True when deleted. |
| postId | string | Deleted post ID. |
| status | string | Previous post status. |