Advertisement

notify_post_author

Filters whether to send the post author new comment notification emails, overriding the site setting.

comment_post

Fires immediately after a comment is inserted into the database.

Advertisement

preprocess_comment

Filters a comment’s data before it is sanitized and inserted into the database.

wp_new_comment

Adds a new comment to the database.

pre_comment_user_ip

Filters the comment author’s IP address before it is set.

Advertisement

pre_comment_user_agent

Filters the comment author’s browser user agent before it is set.

pre_user_id

This filter is documented in wp-includes/comment.php

wp_filter_comment

Filters and sanitizes comment data.

Advertisement

wp_insert_comment

Fires immediately after a comment is inserted into the database.