Назад к 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. |