Comment

Properties

Property
Type

ID

int

agent

string

approved

bool

post_ID

int

author

string

author_email

string

author_IP

string

author_url

string

content

string

date

string

date_gmt

string

karma

int

parent

object

post

object

replies

array

user

object

Examples

Handle submission

Handles the submission of a comment, see wp_handle_comment_submission

In an API Controller

Display comments

Last updated

Was this helpful?