Wróć do WordPress
Połącz Knoon AI z WordPress, aby zautomatyzować przepływy pracy AI.
Delete a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultDeletePost
BETA
Wewnętrzny
Uprawnienia
Brak elementów do wyświetlenia.
Uprawnienia opcjonalne
Brak elementów do wyświetlenia.
Parametry
| Nazwa | Typ | Opis | Wymagane |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Nie |
| postId | mustache | WordPress post ID. Either postId or slug is required. | Nie |
| slug | mustache | Post slug. Either postId or slug is required. | Nie |
| force | boolean | Force delete. Defaults to TRUE. | Nie |
Zwroty
| Nazwa | Typ | Opis |
|---|---|---|
| deleted | bool | True when deleted. |
| postId | string | Deleted post ID. |
| status | string | Previous post status. |