Back to WordPress

Connect Knoon AI with WordPress to automate AI workflows.

Get comment count for all posts or for a specific post.
wordpressXmlRpcDefaultDefaultGetCommentCount
BETA
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
NameTypeDescriptionRequired
postIdmustache Optional post ID filter.No
statusstring Optional comment status filter. Defaults to APPROVE.No
Returns
NameTypeDescription
countstring Total comments count.
postIdstring Filtered post ID if provided.
statusstring Applied status filter.