wp_comments_update
Update WordPress comments by changing status to approved, pending, spam, or trash, and edit comment content and author details.
Instructions
Update a comment. Moderation actions: status=approved (publish), hold (pending), spam, trash. Can also edit content and author fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | No | ||
| content | No | ||
| author_url | No | ||
| author_name | No | ||
| author_email | No |