wp_list_comments
List WordPress comments with optional filters for post ID and status (approved, pending, spam, trash).
Instructions
List comments (id, post, author, content, status, date).
Read-only. Filter by post_id (from wp_find_page / wp_get_content) and/or status
one of approved, hold (awaiting moderation), spam, trash. Omit both to see the most recent comments across the site. Requires the REST transport and an app password with moderate_comments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| install | Yes | ||
| post_id | No |