WP_REST_Comments_Controller::delete_item_permissions_check()
Method: Checks if a given request has access to delete a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:927
Method: Checks if a given request has access to delete a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:927
Method: Checks if the comment can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1803
Method: Deletes a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:951
Method: Checks if a comment can be edited or deleted.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1836
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:969
Method: Checks a comment author email for validity.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1863
Method: Registers the routes for comments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:46
Action Hook: Fires after a comment is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1024
Filter Hook: Filters the response before executing any REST API callbacks.
Source: wp-includes/rest-api/class-wp-rest-server.php:1180
Method: Checks if a given request has access to read comments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:125