WP hooks navigation: Home/browse • Actions index • Filters index
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 | comments_template | filter | no | wp-includes/comment-template.php | |
2 | get_comment_text | filter | no | wp-includes/comment-template.php | |
3 | comment_text | filter | no | wp-includes/comment-template.php | |
4 | get_comment_time | filter | no | wp-includes/comment-template.php | |
5 | get_comment_type | filter | no | wp-includes/comment-template.php | |
6 | trackback_url | filter | no | wp-includes/comment-template.php | |
7 | comments_open | filter | no | wp-includes/comment-template.php | |
8 | pings_open | filter | no | wp-includes/comment-template.php | |
9 | comments_array | filter | no | wp-includes/comment-template.php | |
10 | comment_author | filter | no | wp-includes/comment-template.php | |
11 | comments_popup_link_attributes | filter | no | wp-includes/comment-template.php | |
12 | comment_reply_link | filter | no | wp-includes/comment-template.php | |
13 | post_comments_link | filter | no | wp-includes/comment-template.php | |
14 | cancel_comment_reply_link | filter | no | wp-includes/comment-template.php | |
15 | the_permalink | filter | no | wp-includes/comment-template.php | |
16 | the_permalink | filter | no | wp-includes/comment-template.php | |
17 | comment_form | action | no | wp-includes/comment-template.php | |
18 | get_comments_number | filter | no | wp-includes/comment-template.php | |
19 | get_comment_author | filter | no | wp-includes/comment-template.php | |
20 | get_comment_author_email | filter | no | wp-includes/comment-template.php | |
21 | author_email | filter | no | wp-includes/comment-template.php | |
22 | comments_number | filter | no | wp-includes/comment-template.php | |
23 | comment_email | filter | no | wp-includes/comment-template.php | |
24 | get_comment_author_link | filter | no | wp-includes/comment-template.php | |
25 | get_comment_author_IP | filter | no | wp-includes/comment-template.php | |
26 | get_comment_author_url | filter | no | wp-includes/comment-template.php | |
27 | comment_url | filter | no | wp-includes/comment-template.php | |
28 | get_comment_author_url_link | filter | no | wp-includes/comment-template.php | |
29 | comment_class | filter | no | wp-includes/comment-template.php | |
30 | get_comment_date | filter | no | wp-includes/comment-template.php | |
31 | get_comment_excerpt | filter | no | wp-includes/comment-template.php | |
32 | comment_excerpt | filter | no | wp-includes/comment-template.php | |
33 | get_comment_ID | filter | no | wp-includes/comment-template.php | |
34 | get_comment_link | filter | no | wp-includes/comment-template.php | |
35 | comment_form_after | action | YES | wp-includes/comment-template.php | |
36 | comment_form_comments_closed | action | YES | wp-includes/comment-template.php | |
37 | comment_form_after_fields | action | YES | wp-includes/comment-template.php | |
38 | comment_form_before_fields | action | YES | wp-includes/comment-template.php | |
39 | comment_form_logged_in_after | action | YES | wp-includes/comment-template.php | |
40 | comment_form_top | action | YES | wp-includes/comment-template.php | |
41 | comment_form_must_log_in_after | action | YES | wp-includes/comment-template.php | |
42 | comment_form_before | action | YES | wp-includes/comment-template.php | |
43 | comment_form_field_comment | filter | YES | wp-includes/comment-template.php | |
44 | comment_form_field_{$name} | note | filter | YES | wp-includes/comment-template.php |
45 | comment_form_logged_in | filter | YES | wp-includes/comment-template.php | |
46 | comment_form_defaults | filter | YES | wp-includes/comment-template.php | |
47 | comment_form_default_fields | filter | YES | wp-includes/comment-template.php | |
48 | comment_id_fields | filter | YES | wp-includes/comment-template.php |
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.