On this page
do_action( 'edit_comment', int $comment_id, array $data )
Fires immediately after a comment is updated in the database.
Description
The hook also fires immediately before comment status transition hooks are fired.
Parameters
$comment_idint-
The comment ID.
$dataarray-
Comment data.
Source
File: wp-includes/comment.php. View all references
do_action( 'edit_comment', $comment_id, $data );
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/edit_comment