Fires after a comment is deleted via the REST API.
$commentWP_Comment$responseWP_REST_Response$requestWP_REST_Requestwp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1035WP_REST_Comments_Controller::delete_item() * @since 4.7.0 * * @param WP_Comment $comment The deleted comment data. * @param WP_REST_Response $response The response returned from the API. * @param WP_REST_Request $request The request sent to the API. */ do_action( 'rest_delete_comment', $comment, $response, $request ); return $response; } /** * Prepares a single comment output for response.Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.