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: Converts an error to a response object.
Source: wp-includes/rest-api/class-wp-rest-server.php:213
Method: Retrieves the publicly-visible data for routes.
Source: wp-includes/rest-api/class-wp-rest-server.php:1469
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
Filter Hook: Filters the REST API dispatch request result.
Source: wp-includes/rest-api/class-wp-rest-server.php:1211
Method: Deletes a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:951
Method: Retrieves an appropriate error representation in JSON.
Source: wp-includes/rest-api/class-wp-rest-server.php:232
Class: Core class used to implement the ClassicPress REST API server.
Source: wp-includes/rest-api/class-wp-rest-server.php:16
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 immediately after executing any REST API callbacks.
Source: wp-includes/rest-api/class-wp-rest-server.php:1242