On this page
apply_filters( 'wp_update_comment_data', array|WP_Error $data, array $comment, array $commentarr )
Filters the comment data immediately before it is updated in the database.
Description
Note: data being passed to the filter is already unslashed.
Parameters
Source
File: wp-includes/comment.php. View all references
$data = apply_filters( 'wp_update_comment_data', $data, $comment, $commentarr );
Related
Used By
| Used By | Description |
|---|---|
| wp_update_comment() wp-includes/comment.php | Updates an existing comment in the database. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_update_comment_data