do_action( 'wp_insert_comment', int $id, WP_Comment $comment )

Fires immediately after a comment is inserted into the database.

Description Description

Parameters Parameters


(int) The comment ID.


(WP_Comment) Comment object.

Top ↑

Source Source

File: wp-includes/comment.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.