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 | admin_footer | action | YES | 1 | |
| 2 | admin_head | action | YES | 1 | |
| 3 | author_email | filter | YES | 1 | |
| 4 | bloginfo | filter | YES | 1 | |
| 5 | category_description | filter | YES | 1 | |
| 6 | comment_author | filter | YES | 1 | |
| 7 | comment_email | filter | YES | 1 | |
| 8 | comment_excerpt | filter | YES | 1 | |
| 9 | comment_post | action | YES | 1 | |
| 10 | comment_text | filter | YES | 1 | |
| 11 | comment_url | filter | YES | 1 | |
| 12 | delete_comment | action | YES | 1 | |
| 13 | delete_post | action | YES | 1 | |
| 14 | edit_comment | action | YES | 1 | |
| 15 | edit_post | action | YES | 1 | |
| 16 | format_to_edit | filter | YES | 1 | |
| 17 | format_to_post | filter | YES | 1 | |
| 18 | list_cats | filter | YES | 1 | |
| 19 | phone_content | filter | YES | 1 | |
| 20 | post_comment_text | filter | YES | 1 | |
| 21 | publish_phone | action | YES | 1 | |
| 22 | publish_post | action | YES | 1 | |
| 23 | sanitize_title | action | YES | 1 | |
| 24 | shutdown | action | YES | 1 | |
| 25 | single_post_title | filter | YES | 1 | |
| 26 | the_category | filter | YES | 1 | |
| 27 | the_category_rss | filter | YES | 1 | |
| 28 | the_content | filter | YES | 1 | |
| 29 | the_date | filter | YES | 1 | |
| 30 | the_excerpt | filter | YES | 1 | |
| 31 | the_excerpt_rss | filter | YES | 1 | |
| 32 | the_time | filter | YES | 1 | |
| 33 | the_title | filter | YES | 1 | |
| 34 | the_title_rss | filter | YES | 1 | |
| 35 | the_weekday | filter | YES | 1 | |
| 36 | the_weekday_date | filter | YES | 1 | |
| 37 | trackback_post | action | YES | 1 | |
| 38 | wp_head | action | YES | 1 | |
| 39 | {$tag} | note | action | YES | 1 |
| 40 | {$tag} | note | 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.