wp_new_comment()
Function: Adds a new comment to the database.
Source: wp-includes/comment.php:2216
Function: Adds a new comment to the database.
Source: wp-includes/comment.php:2216
Function: Calls hooks for when a comment status transition occurs.
Source: wp-includes/comment.php:1774
Filter Hook: Filters a comment’s data before it is sanitized and inserted into the database.
Source: wp-includes/comment.php:2249
Action Hook: Fires when the comment status is in transition.
Source: wp-includes/comment.php:1804
Action Hook: Fires immediately after a comment is inserted into the database.
Source: wp-includes/comment.php:2326
Action Hook: Fires when the comment status is in transition from one specific status to another.
Source: wp-includes/comment.php:1824
Function: Sends a comment moderation notification to the comment moderator.
Source: wp-includes/comment.php:2339
Action Hook: Fires when the status of a specific comment type is in transition.
Source: wp-includes/comment.php:1851
Function: Sends a notification of a new comment to the post author.
Source: wp-includes/comment.php:2366
Function: Clears the lastcommentmodified cached value when a comment status is changed.
Source: wp-includes/comment.php:1866