Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment.php | do_action | 2624 | /** * Fires immediately after a comment is updated in the database. * * The hook also fires immediately before comment status transition hooks are fired. * * @since 1.2.0 * @since 4.6.0 Added the `$data` parameter. * * @param int $comment_id The comment ID. * @param array $data Comment data. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $comment_id | The comment ID. |
array | $data | Comment data. |