WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_insert_comment

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment.php do_action 2070 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
int $id The comment ID.
WP_Comment $comment Comment object.