wp_comments_create
Add a comment to a WordPress post, optionally as a reply. Supports anonymous submissions with author name/email, status, and date.
Instructions
Create a comment (or reply via parent). When author is omitted, author_name + author_email are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| post | Yes | ||
| author | No | ||
| parent | No | ||
| status | No | ||
| content | Yes | ||
| author_ip | No | ||
| author_url | No | ||
| author_name | No | ||
| author_email | No | ||
| author_user_agent | No |