rest_preprocess_comment
Filter Hook: Filters a comment after it is prepared for the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1176
Filter Hook: Filters a comment after it is prepared for the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1176
Filter Hook: Filters whether a comment can be trashed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:801
Action Hook: Fires after a comment is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:839
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:853
Filter Hook: Filters a comment returned from the API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:950
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:961
Method: Prepends internal property prefix to query parameters to match our response fields.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1029
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1061
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1092
Method: Deletes a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:783