Advertisement

edit_comment

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_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