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 | 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 | comment_author | filter | no | wp-includes/comment-template.php | |
9 | comment_class | filter | no | wp-includes/comment-template.php | |
10 | comment_email | filter | no | wp-includes/comment-template.php | |
11 | comment_excerpt | filter | no | wp-includes/comment-template.php | |
12 | comment_form | action | no | wp-includes/comment-template.php | |
13 | comment_form_after | action | no | wp-includes/comment-template.php | |
14 | comment_form_after_fields | action | no | wp-includes/comment-template.php | |
15 | comment_form_before | action | no | wp-includes/comment-template.php | |
16 | comment_form_before_fields | action | no | wp-includes/comment-template.php | |
17 | comment_form_comments_closed | action | no | wp-includes/comment-template.php | |
18 | comment_form_defaults | filter | no | wp-includes/comment-template.php | |
19 | comment_form_default_fields | filter | no | wp-includes/comment-template.php | |
20 | comment_form_field_comment | filter | no | wp-includes/comment-template.php | |
21 | comment_form_field_{$name} | note | filter | no | wp-includes/comment-template.php |
22 | comment_form_logged_in | filter | no | wp-includes/comment-template.php | |
23 | comment_form_logged_in_after | action | no | wp-includes/comment-template.php | |
24 | comment_form_must_log_in_after | action | no | wp-includes/comment-template.php | |
25 | comment_form_top | action | no | wp-includes/comment-template.php | |
26 | comment_id_fields | filter | no | wp-includes/comment-template.php | |
27 | comment_reply_link | filter | no | wp-includes/comment-template.php | |
28 | comment_text | filter | no | wp-includes/comment-template.php | |
29 | comment_url | filter | no | wp-includes/comment-template.php | |
30 | get_comments_link | filter | no | wp-includes/comment-template.php | |
31 | get_comments_number | filter | no | wp-includes/comment-template.php | |
32 | get_comment_author | filter | no | wp-includes/comment-template.php | |
33 | get_comment_author_email | filter | no | wp-includes/comment-template.php | |
34 | get_comment_author_IP | filter | no | wp-includes/comment-template.php | |
35 | get_comment_author_link | filter | no | wp-includes/comment-template.php | |
36 | get_comment_author_url | filter | no | wp-includes/comment-template.php | |
37 | get_comment_author_url_link | filter | no | wp-includes/comment-template.php | |
38 | get_comment_date | filter | no | wp-includes/comment-template.php | |
39 | get_comment_excerpt | filter | no | wp-includes/comment-template.php | |
40 | get_comment_ID | filter | no | wp-includes/comment-template.php | |
41 | get_comment_link | filter | no | wp-includes/comment-template.php | |
42 | get_comment_text | filter | no | wp-includes/comment-template.php | |
43 | get_comment_time | filter | no | wp-includes/comment-template.php | |
44 | get_comment_type | filter | no | wp-includes/comment-template.php | |
45 | pings_open | filter | no | wp-includes/comment-template.php | |
46 | post_comments_link | filter | no | wp-includes/comment-template.php | |
47 | the_permalink | filter | no | wp-includes/comment-template.php | |
48 | the_permalink | filter | no | wp-includes/comment-template.php | |
49 | trackback_url | filter | no | 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.