Summery Summery
Fires immediately after a comment is inserted into the database.
Syntax Syntax
Parameters Parameters
- $comment_ID
-
The comment ID.
- $comment_approved
-
1 if the comment is approved, 0 if not, 'spam' if spam.
- $commentdata
-
Comment data.
Source Source
File: wp-includes/comment.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.5.0 | The $commentdata parameter was added. |
1.2.0 | Introduced. |