Fires immediately after a comment is updated in the database.
wp_update_comment_data
Filters the comment data immediately before it is updated in the database.
comment_save_pre
Filters the comment content before it is updated in the database.
notify_post_author
Filters whether to send the post author new comment notification emails, overriding the site setting.
Advertisement
notify_moderator
Filters whether to send the site moderator email notifications, overriding the site setting.
comment_post
Fires immediately after a comment is inserted into the database.
preprocess_comment
Filters a comment’s data before it is sanitized and inserted into the database.
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_insert_comment
Fires immediately after a comment is inserted into the database.
Advertisement
wp_get_current_commenter
Filters the current commenter’s name, email, and URL.
comment_{$new_status}_{$comment->comment_type}
Fires when the status of a specific comment type is in transition.
comment_{$old_status}_to_{$new_status}
Fires when the comment status is in transition from one specific status to another.