WP_REST_Comments_Controller::check_target_post_permission()
Method: Checks that a post can receive a comment from the current user.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1941
Method: Checks that a post can receive a comment from the current user.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1941
Method: If empty comments are not allowed, checks if the provided comment content is not empty.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1902
Action Hook: Fires completely after a comment is created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:758
Method: Registers the routes for comments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:46
Filter Hook: Filters whether a comment can be trashed via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:986
Method: Checks a comment author email for validity.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1880
Method: Checks if a given request has access to read comments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:125
Action Hook: Fires after a comment is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1041
Method: Retrieves a list of comment items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:194
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1056