This page redirects to an external site: https://developer.wordpress.org/reference/functions/wp_update_comment/
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.