Close comments on old posts on the fly, without any extra DB queries. Hooked to the_posts.
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.
transition_comment_status
Fires when the comment status is in transition.
Advertisement
wp_transition_comment_status
Call hooks for when a comment status transition occurs.
wp_count_comments
Filters the comments count for a given post or the whole site.
get_page_of_comment
Calculate what page number a comment will appear on for comment paging.
get_comment_pages_count
Calculate the total number of comment pages.
Advertisement
separate_comments
Separates an array of comments into an array keyed by comment_type.
get_comment_statuses
Retrieve all of the WordPress supported comment statuses.
get_comments
Retrieve a list of comments.
wp_list_comments
Displays a list of comments.
Advertisement
comment_form_title
Displays text based on comment reply status.
comment_id_fields
Outputs hidden input HTML for replying to comments.
cancel_comment_reply_link
Displays HTML content for cancel comment reply link.