WordPress at a glance
filter is not described

rest_comment_trashable filter-hook . WP 4.7.0

Filters whether a comment can be trashed.

Return false to disable trash support for the post.

Usage

add_filter( 'rest_comment_trashable', 'filter_function_name_1585', 10, 2 );
function filter_function_name_1585( $supports_trash, $comment ){
	// filter...

	return $supports_trash;
}
$supports_trash(true/false)
Whether the post type support trashing.
$comment(WP_Post)
The comment object being considered for trashing support.

Where the hook is called

WP_REST_Comments_Controller::delete_item()
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 815
$supports_trash = apply_filters( 'rest_comment_trashable', ( EMPTY_TRASH_DAYS > 0 ), $comment );

Where the hook is used (in WP core)

Does not used.