WP hooks navigation: Home/browse • Actions index • Filters index
Important! Some WordPress hooks get applied in multiple PHP files. If you are trying to figure out what a specific WordPress hook does, sort the table by "hook" and make sure you are looking in all the files where it occurs.
Hook | Type | New? | Instances | ||
---|---|---|---|---|---|
1 | trackback_post | action | YES | 1 | |
2 | the_weekday_date | filter | YES | 1 | |
3 | the_title | filter | YES | 2 | |
4 | the_title_rss | filter | YES | 1 | |
5 | the_excerpt | filter | YES | 1 | |
6 | the_excerpt_rss | filter | YES | 1 | |
7 | comment_post | action | YES | 1 | |
8 | publish_post | action | YES | 3 | |
9 | publish_phone | action | YES | 1 | |
10 | shutdown | action | YES | 1 | |
11 | the_weekday | filter | YES | 1 | |
12 | admin_footer | action | YES | 1 | |
13 | admin_head | action | YES | 1 | |
14 | edit_post | action | YES | 1 | |
15 | delete_post | action | YES | 1 | |
16 | delete_comment | action | YES | 1 | |
17 | edit_comment | action | YES | 1 | |
18 | sanitize_title | action | YES | 1 | |
19 | {$tag} | note | action | YES | 1 |
20 | wp_head | action | YES | 1 | |
21 | comment_author | filter | YES | 3 | |
22 | phone_content | filter | YES | 1 | |
23 | the_content | filter | YES | 3 | |
24 | format_to_edit | filter | YES | 1 | |
25 | format_to_post | filter | YES | 1 | |
26 | {$tag} | note | filter | YES | 2 |
27 | the_category | filter | YES | 1 | |
28 | the_category_rss | filter | YES | 1 | |
29 | category_description | filter | YES | 1 | |
30 | list_cats | filter | YES | 4 | |
31 | post_comment_text | filter | YES | 1 | |
32 | author_email | filter | YES | 1 | |
33 | comment_url | filter | YES | 3 | |
34 | comment_email | filter | YES | 1 | |
35 | comment_text | filter | YES | 2 | |
36 | comment_excerpt | filter | YES | 1 | |
37 | bloginfo | filter | YES | 1 | |
38 | single_post_title | filter | YES | 2 | |
39 | the_date | filter | YES | 1 | |
40 | the_time | filter | YES | 1 |
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.