Filters whether to send the post author new comment notification emails, overriding the site setting.
wp_new_comment_notify_postauthor
Send a notification of a new comment to the post author.
comment_post
Fires immediately after a comment is inserted into the database.
wp_new_comment_notify_moderator
Send a comment moderation notification to the comment moderator.
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.
wp_throttle_comment_flood
Whether a comment should be blocked because of comment flood.
pre_comment_user_ip
Filters the comment author’s IP address before it is set.
Advertisement
pre_comment_content
Filters the comment content before it is set.
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.
wp_insert_comment
Inserts a comment into the database.
wp_get_current_commenter
Filters the current commenter’s name, email, and URL.