comment_post – action

Fires immediately after a comment is inserted into the database. 

Parameters

.
( 1.2.0 ) . .
The
( 4.5.0 ) `$commentdata` parameter was added. . . .
( int ) $comment_ID The comment ID. . . .
$comment_approved
( int|string ) 1 if the comment is approved, 0 if not, ‘spam’ if spam. . . .
( array ) $commentdata Comment data. . . .
API Letters: ,

Implementers