Filters the comment data immediately before it is updated in the database.
wp_new_comment
Adds a new comment to the database.
_clear_modified_cache_on_transition_comment_status
Clear the lastcommentmodified cached value when a comment status is changed.
wp_check_comment_data_max_lengths
Compares the lengths of comment data against the maximum character limits.
Advertisement
get_page_of_comment
Filters the calculated page on which a comment appears.
wp_check_comment_flood
Checks whether comment flooding is occurring.
check_comment_flood_db
Hooks WP’s native database-based comment-flood check.
wp_is_comment_flood
Filters whether a comment is part of a comment flood.
Advertisement
check_comment_flood
Fires immediately before a comment is marked approved.
wp_allow_comment
Validates whether this comment is allowed to be made.
get_lastcommentmodified
The date the last comment was modified.
comment_max_links_url
Filters the number of links found in a comment.
Advertisement
theme_{$post_type}_templates
Filters list of page templates for a theme.
WP_Theme::get_page_templates
Returns the theme’s post templates for a given post type.
WP_Theme::get_post_templates
Returns the theme’s post templates.