(default) Formats the output as HTML for display. Shortcodes are parsed, paragraph tags are added, etc..
Formats the output for editing. Shortcodes are left unparsed, significant whitespace is kept, etc..
Output pretty JSON
Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes
The comment has been held for review in the moderation queue.
The comment has been marked as spam.
The comment is in the trash.
A reference to the comment's parent, if it has one.
The comment is a regular comment.
The comment is a trackback.
The comment is a pingback.
The number of likes for this comment.
Does the current user like this comment?
These are the possible errors returned by this endpoint.
User cannot delete comment
Cannot trash comment
User cannot moderate comments
An active access token must be used to comment.
Comments on this post are closed
Comments on drafts are not allowed
User cannot create comments
User cannot read unapproved comment
User cannot edit comment
-H 'authorization: Bearer YOUR_API_TOKEN' \
--data-urlencode 'content=This reply is very interesting. This is editing a comment reply via the API.' \
$options = array (
'ignore_errors' => true,
'method' => 'POST',
0 => 'authorization: Bearer YOUR_API_TOKEN',
1 => 'Content-Type: application/x-www-form-urlencoded',
'content' => 'This reply is very interesting. This is editing a comment reply via the API.',
$context = stream_context_create( $options );
$response = file_get_contents(
$response = json_decode( $response );