wp_spam_comment
Mark a WordPress comment as spam by specifying its comment ID, removing it from public view and helping keep your site free of unwanted content.
Instructions
Marks a comment as spam.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| id | Yes | The ID of the comment to mark as spam. |