Schema Documentation
NodeWithComments
Description
A node that can have comments associated with it
Fields
Field Name | Description |
---|---|
commentCount -
Int | The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. |
commentStatus -
String | Whether the comments are open or closed for this particular post. |
Possible Types
NodeWithComments Types |
---|
Example
{"commentCount":123,"commentStatus":"abc123"}