Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Hooks in wp-includes/comment-template.php

WP version: 5.7

Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, you need to look in all the files that apply the hook. Click the "details" link next to any hook for more information.

Hook Type New? File
1 author_email filter no wp-includes/comment-template.php
2 cancel_comment_reply_link filter no wp-includes/comment-template.php
3 comments_array filter no wp-includes/comment-template.php
4 comments_number filter no wp-includes/comment-template.php
5 comments_open filter no wp-includes/comment-template.php
6 comments_popup_link_attributes filter no wp-includes/comment-template.php
7 comments_template filter no wp-includes/comment-template.php
8 comments_template_query_args filter no wp-includes/comment-template.php
9 comments_template_top_level_query_args filter no wp-includes/comment-template.php
10 comment_author filter no wp-includes/comment-template.php
11 comment_class filter no wp-includes/comment-template.php
12 comment_email filter no wp-includes/comment-template.php
13 comment_excerpt filter no wp-includes/comment-template.php
14 comment_excerpt_length filter no wp-includes/comment-template.php
15 comment_form action no wp-includes/comment-template.php
16 comment_form_after action no wp-includes/comment-template.php
17 comment_form_after_fields action no wp-includes/comment-template.php
18 comment_form_before action no wp-includes/comment-template.php
19 comment_form_before_fields action no wp-includes/comment-template.php
20 comment_form_comments_closed action no wp-includes/comment-template.php
21 comment_form_defaults filter no wp-includes/comment-template.php
22 comment_form_default_fields filter no wp-includes/comment-template.php
23 comment_form_fields filter no wp-includes/comment-template.php
24 comment_form_field_comment filter no wp-includes/comment-template.php
25 comment_form_field_{$name} note filter no wp-includes/comment-template.php
26 comment_form_logged_in filter no wp-includes/comment-template.php
27 comment_form_logged_in_after action no wp-includes/comment-template.php
28 comment_form_must_log_in_after action no wp-includes/comment-template.php
29 comment_form_submit_button filter no wp-includes/comment-template.php
30 comment_form_submit_field filter no wp-includes/comment-template.php
31 comment_form_top action no wp-includes/comment-template.php
32 comment_id_fields filter no wp-includes/comment-template.php
33 comment_reply_link filter no wp-includes/comment-template.php
34 comment_reply_link_args filter no wp-includes/comment-template.php
35 comment_text filter no wp-includes/comment-template.php
36 comment_url filter no wp-includes/comment-template.php
37 get_comments_link filter no wp-includes/comment-template.php
38 get_comments_number filter no wp-includes/comment-template.php
39 get_comment_author filter no wp-includes/comment-template.php
40 get_comment_author_email filter no wp-includes/comment-template.php
41 get_comment_author_IP filter no wp-includes/comment-template.php
42 get_comment_author_link filter no wp-includes/comment-template.php
43 get_comment_author_url filter no wp-includes/comment-template.php
44 get_comment_author_url_link filter no wp-includes/comment-template.php
45 get_comment_date filter no wp-includes/comment-template.php
46 get_comment_excerpt filter no wp-includes/comment-template.php
47 get_comment_ID filter no wp-includes/comment-template.php
48 get_comment_link filter no wp-includes/comment-template.php
49 get_comment_text filter no wp-includes/comment-template.php
50 get_comment_time filter no wp-includes/comment-template.php
51 get_comment_type filter no wp-includes/comment-template.php
52 pings_open filter no wp-includes/comment-template.php
53 post_comments_link filter no wp-includes/comment-template.php
54 respond_link filter no wp-includes/comment-template.php
55 the_permalink filter no wp-includes/comment-template.php
56 the_permalink filter no wp-includes/comment-template.php
57 trackback_url filter no wp-includes/comment-template.php
58 wp_list_comments_args filter no wp-includes/comment-template.php

Important warning about variable hooks

Some hooks have variables in their names. For example, pre_${taxonomy}_$field and admin_head- both have variable names. In general, any hook that ends (or begins) with - or _, or contains a $, has a variable name. Since the syntax with which these variables are defined may change from version to version, this page may think that a hook is deprecated (or new) even if it is not. You can usually catch this sort of thing by comparing this hook to the list of "related hooks" below.