WordPress at a glance
filter is not described

wp_update_comment_data filter-hook . WP 4.7.0

Filters the comment data immediately before it is updated in the database.

Note: data being passed to the filter is already unslashed.


add_filter( 'wp_update_comment_data', 'filter_function_name_1439', 10, 3 );
function filter_function_name_1439( $data, $comment, $commentarr ){
	// filter...

	return $data;
The new, processed comment data.
The old, unslashed comment data.
The new, raw comment data.


Since 4.7.0 Introduced.

Where the hook is called

wp-includes/comment.php 2386
$data = apply_filters( 'wp_update_comment_data', $data, $comment, $commentarr );

Where in WP core the hook is used

Usage not found!