WP_REST_Comments_Controller
Core controller used to access comments via the REST API.
Core controller used to access comments via the REST API.
Constructor.
Checks a comment author email for validity.
Checks if a comment can be edited or deleted.
If empty comments are not allowed, checks if the provided comment content is not empty.
Checks if the comment can be read.
Checks if the post can be read.
Creates a comment.
Checks if a given request has access to create a comment.
Deletes a comment.