Moves comments for a post to the trash
<?php wp_trash_post_comments( $post_id ); ?>
Since: 2.9.0
wp_trash_post_comments() is located in wp-includes/post.php
.
wp_untrash_post_comments(), wp_trash_post(), wp_delete_post(), clean_comment_cache()