Updates an existing comment in the database.
Filters the comment and makes sure certain fields are valid before updating.
<?php wp_update_comment( $comment ) ?>
<?php $comment = array(); $comment['comment_ID'] = 123; $comment['comment_approved'] = 0; wp_update_comment( $comment ); ?>
Since: 2.0.0
wp_update_comment() is located in wp-includes/comment.php
.