comment_post, $comment_id, $commentdata[comment_approved], $commentdata
comment_post, $comment_id, $commentdata[comment_approved], $commentdata
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('comment_post, $comment_id, $commentdata[comment_approved], $commentdata') is found 1 times:
- /wp-includes/comment.php line 2433
* @param int $comment_id The comment ID. * @param int|string $comment_approved 1 if the comment is approved, 0 if not, 'spam' if spam. * @param array $commentdata Comment data. */ do_action( 'comment_post', $comment_id, $commentdata['comment_approved'], $commentdata ); return $comment_id; } /** * Sends a comment moderation notification to the comment moderator.