Comment (tag)

comment_class

Allows you to change the list of CSS classes applied to each comment <li> tag in the template.

comment_form_default_fields

Allows you to modify, add, or remove comment form fields such as name, email, and website.

comment_post

Fires immediately after a comment is added to the database. The event passes the comment ID, status, and data.

deleted_comment

Fires immediately after a comment is deleted from the database (before the cache is cleared).

edit_comment

Fires immediately after a comment has been updated in the database.

preprocess_comment

Filters comment data before it is sanitized and added to the database. The filter fires at the very beginning of wp_new_comment(), which adds a new comment.

trashed_comment

Fires immediately after a comment is moved to the Trash.

untrashed_comment

Fires immediately after a comment is restored from the Trash.

wp_count_comments

Allows you to change the comment count for a specified post or for the site as a whole.