Description
Fires immediately after a comment is inserted into the database.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment.php | 2073 |
Parameters
Type | Name | Description |
---|---|---|
int | $id | The comment ID. |
WP_Comment | $comment | Comment object. |
PHP Doc
/**
* Fires immediately after a comment is inserted into the database.
*
* @since 2.8.0
*
* @param int $id The comment ID.
* @param WP_Comment $comment Comment object.
*/