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 | add_category | action | YES | 1 | |
| 2 | admin_footer | action | no | 2 | |
| 3 | admin_head | action | no | 1 | |
| 4 | admin_menu | action | YES | 1 | |
| 5 | all_options | filter | YES | 1 | |
| 6 | author_email | filter | no | 1 | |
| 7 | author_feed_link | filter | YES | 1 | |
| 8 | author_link | filter | YES | 1 | |
| 9 | author_rewrite_rules | filter | YES | 1 | |
| 10 | bloginfo | filter | no | 1 | |
| 11 | category_description | filter | no | 2 | |
| 12 | category_feed_link | filter | YES | 1 | |
| 13 | category_link | filter | YES | 1 | |
| 14 | category_rewrite_rules | filter | YES | 1 | |
| 15 | category_save_pre | filter | YES | 1 | |
| 16 | category_template | filter | YES | 1 | |
| 17 | check_admin_referer | action | YES | 1 | |
| 18 | check_passwords | action | YES | 3 | |
| 19 | comments_number | filter | YES | 1 | |
| 20 | comments_popup_template | filter | YES | 1 | |
| 21 | comments_rewrite_rules | filter | YES | 1 | |
| 22 | comments_template | filter | YES | 1 | |
| 23 | comment_author | filter | no | 1 | |
| 24 | comment_author_rss | filter | YES | 1 | |
| 25 | comment_closed | action | YES | 1 | |
| 26 | comment_content_presave | filter | YES | 1 | |
| 27 | comment_edit_pre | filter | YES | 1 | |
| 28 | comment_email | filter | no | 1 | |
| 29 | comment_excerpt | filter | no | 1 | |
| 30 | comment_flood_trigger | action | YES | 1 | |
| 31 | comment_form | action | YES | 4 | |
| 32 | comment_id_not_found | action | YES | 1 | |
| 33 | comment_moderation_subject | filter | YES | 1 | |
| 34 | comment_moderation_text | filter | YES | 1 | |
| 35 | comment_notification_headers | filter | YES | 1 | |
| 36 | comment_notification_subject | filter | YES | 1 | |
| 37 | comment_notification_text | filter | YES | 1 | |
| 38 | comment_on_draft | action | YES | 1 | |
| 39 | comment_post | action | no | 1 | |
| 40 | comment_save_pre | filter | YES | 1 | |
| 41 | comment_text | filter | no | 1 | |
| 42 | comment_text_rss | filter | YES | 1 | |
| 43 | comment_url | filter | no | 1 | |
| 44 | content_edit_pre | filter | YES | 1 | |
| 45 | content_save_pre | filter | YES | 6 | |
| 46 | core_files_loaded | action | YES | 1 | |
| 47 | date_rewrite_rules | filter | YES | 1 | |
| 48 | day_link | filter | YES | 2 | |
| 49 | default_content | filter | YES | 1 | |
| 50 | default_excerpt | filter | YES | 1 | |
| 51 | default_title | filter | YES | 1 | |
| 52 | delete_category | action | YES | 1 | |
| 53 | delete_comment | action | no | 1 | |
| 54 | delete_post | action | no | 1 | |
| 55 | edit_comment | action | no | 1 | |
| 56 | edit_form_advanced | action | YES | 1 | |
| 57 | edit_page_form | action | YES | 1 | |
| 58 | edit_post | action | no | 3 | |
| 59 | excerpt_edit_pre | filter | YES | 1 | |
| 60 | excerpt_save_pre | filter | YES | 2 | |
| 61 | feed_link | filter | YES | 1 | |
| 62 | format_to_edit | filter | no | 1 | |
| 63 | format_to_post | filter | no | 1 | |
| 64 | generate_rewrite_rules | action | YES | 1 | |
| 65 | get_comments_number | filter | YES | 1 | |
| 66 | get_comment_author | filter | YES | 1 | |
| 67 | get_comment_author_email | filter | YES | 1 | |
| 68 | get_comment_author_IP | filter | YES | 1 | |
| 69 | get_comment_author_link | filter | YES | 1 | |
| 70 | get_comment_author_url | filter | YES | 1 | |
| 71 | get_comment_author_url_link | filter | YES | 1 | |
| 72 | get_comment_date | filter | YES | 1 | |
| 73 | get_comment_excerpt | filter | YES | 1 | |
| 74 | get_comment_ID | filter | YES | 1 | |
| 75 | get_comment_text | filter | YES | 1 | |
| 76 | get_comment_time | filter | YES | 1 | |
| 77 | get_comment_type | filter | YES | 1 | |
| 78 | get_the_excerpt | filter | YES | 1 | |
| 79 | get_the_guid | filter | YES | 1 | |
| 80 | get_the_time | filter | YES | 2 | |
| 81 | home_template | filter | YES | 1 | |
| 82 | init | action | YES | 1 | |
| 83 | link_rating | filter | YES | 1 | |
| 84 | list_cats | filter | no | 4 | |
| 85 | list_cats_exclusions | filter | YES | 1 | |
| 86 | locale | filter | YES | 1 | |
| 87 | loginout | filter | YES | 1 | |
| 88 | lost_password | action | YES | 1 | |
| 89 | manage_posts_columns | filter | YES | 1 | |
| 90 | manage_posts_custom_column | action | YES | 1 | |
| 91 | mod_rewrite_rules | filter | YES | 1 | |
| 92 | month_link | filter | YES | 2 | |
| 93 | name_save_pre | filter | YES | 1 | |
| 94 | option_{$setting} | note | filter | YES | 4 |
| 95 | page_link | filter | YES | 1 | |
| 96 | page_rewrite_rules | filter | YES | 1 | |
| 97 | page_template | filter | YES | 1 | |
| 98 | parse_query | action | YES | 1 | |
| 99 | password_reset | action | YES | 1 | |
| 100 | phone_content | filter | no | 1 | |
| 101 | pingback_post | action | YES | 1 | |
| 102 | plugins_loaded | action | YES | 1 | |
| 103 | posts_join | filter | YES | 1 | |
| 104 | posts_join_paged | filter | YES | 1 | |
| 105 | posts_orderby | filter | YES | 1 | |
| 106 | posts_where | filter | YES | 1 | |
| 107 | posts_where_paged | filter | YES | 1 | |
| 108 | post_comments_feed_link | filter | YES | 1 | |
| 109 | post_comment_text | filter | no | 1 | |
| 110 | post_link | filter | YES | 2 | |
| 111 | post_rewrite_rules | filter | YES | 1 | |
| 112 | preprocess_comment | filter | YES | 1 | |
| 113 | pre_comment_approved | filter | YES | 1 | |
| 114 | pre_comment_author_email | filter | YES | 1 | |
| 115 | pre_comment_author_name | filter | YES | 1 | |
| 116 | pre_comment_author_url | filter | YES | 1 | |
| 117 | pre_comment_content | filter | YES | 1 | |
| 118 | pre_comment_user_agent | filter | YES | 1 | |
| 119 | pre_comment_user_domain | filter | YES | 1 | |
| 120 | pre_comment_user_ip | filter | YES | 1 | |
| 121 | pre_option_{$option->option_name} | note | filter | YES | 1 |
| 122 | pre_user_id | filter | YES | 1 | |
| 123 | private_to_published | action | YES | 1 | |
| 124 | publish_phone | action | no | 1 | |
| 125 | publish_post | action | no | 5 | |
| 126 | query_string | filter | YES | 1 | |
| 127 | query_vars | filter | YES | 1 | |
| 128 | register | filter | YES | 1 | |
| 129 | retreive_password | action | YES | 1 | |
| 130 | retrieve_password | action | YES | 1 | |
| 131 | rewrite_rules | filter | YES | 1 | |
| 132 | rewrite_rules_array | filter | YES | 1 | |
| 133 | root_rewrite_rules | filter | YES | 1 | |
| 134 | sanitize_title | filter | no | 1 | |
| 135 | save_post | action | YES | 1 | |
| 136 | search_rewrite_rules | filter | YES | 1 | |
| 137 | show_password_fields | filter | YES | 3 | |
| 138 | shutdown | action | no | 1 | |
| 139 | simple_edit_form | action | YES | 1 | |
| 140 | single_post_title | filter | no | 2 | |
| 141 | status_save_pre | filter | YES | 1 | |
| 142 | stylesheet | filter | YES | 1 | |
| 143 | stylesheet_directory | filter | YES | 1 | |
| 144 | stylesheet_directory_uri | filter | YES | 1 | |
| 145 | stylesheet_uri | filter | YES | 1 | |
| 146 | switch_theme | action | YES | 3 | |
| 147 | template | filter | YES | 1 | |
| 148 | template_directory | filter | YES | 1 | |
| 149 | template_directory_uri | filter | YES | 1 | |
| 150 | template_redirect | action | YES | 1 | |
| 151 | theme_root | filter | YES | 1 | |
| 152 | theme_root_uri | filter | YES | 1 | |
| 153 | the_author_email | filter | YES | 1 | |
| 154 | the_category | filter | no | 2 | |
| 155 | the_category_rss | filter | no | 1 | |
| 156 | the_content | filter | no | 5 | |
| 157 | the_date | filter | no | 1 | |
| 158 | the_excerpt | filter | no | 2 | |
| 159 | the_excerpt_rss | filter | no | 1 | |
| 160 | the_permalink | filter | YES | 2 | |
| 161 | the_posts | filter | YES | 1 | |
| 162 | the_time | filter | no | 1 | |
| 163 | the_title | filter | no | 8 | |
| 164 | the_title_rss | filter | no | 2 | |
| 165 | the_weekday | filter | no | 1 | |
| 166 | the_weekday_date | filter | no | 1 | |
| 167 | title_edit_pre | filter | YES | 1 | |
| 168 | title_save_pre | filter | YES | 1 | |
| 169 | trackback_post | action | no | 1 | |
| 170 | user_register | action | YES | 2 | |
| 171 | wp_authenticate | action | YES | 1 | |
| 172 | wp_blacklist_check | action | YES | 1 | |
| 173 | wp_footer | action | YES | 1 | |
| 174 | wp_head | action | no | 1 | |
| 175 | wp_list_pages | filter | YES | 1 | |
| 176 | wp_login | action | YES | 1 | |
| 177 | wp_logout | action | YES | 1 | |
| 178 | wp_meta | action | YES | 1 | |
| 179 | wp_set_comment_status | action | YES | 1 | |
| 180 | xmlrpc_methods | filter | YES | 1 | |
| 181 | year_link | filter | YES | 2 | |
| 182 | {$page_hook} | note | action | YES | 1 |
| 183 | {$tag} | note | action | no | 1 |
| 184 | {$tag} | note | filter | no | 1 |
| 185 | {$type}_template | 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.