wp_comments_delete
Delete a WordPress comment by sending it to trash (recoverable) or permanently removing it with a forced confirmation.
Instructions
Delete a comment. Default to trash (recoverable). force=true with confirm="DELETE_PERMANENTLY_" permanently deletes (requires MODE=full).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| force | No | ||
| confirm | No |