Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, sort the table by "hook" and make sure you are looking in all the files where it occurs.
| Hook | Type | New? | File | ||
|---|---|---|---|---|---|
| 1 | activate_trim({$_GET[plugin]} | note | action | no | /.../plugins.php |
| 2 | activity_box_end | action | no | /.../index.php | |
| 3 | add_attachment | action | no | /.../functions-post.php | |
| 4 | add_category | action | no | /.../admin-db.php | |
| 5 | add_link | action | no | /.../admin-db.php | |
| 6 | add_ping | filter | no | /.../functions-post.php | |
| 7 | admin_footer | action | no | /.../admin-footer.php | |
| 8 | admin_footer | action | no | /.../bookmarklet.php | |
| 9 | admin_head | action | no | /.../admin-header.php | |
| 10 | admin_menu | action | no | /.../menu.php | |
| 11 | admin_notices | action | YES | /.../menu-header.php | |
| 12 | all_options | filter | no | /.../functions.php | |
| 13 | atom_entry | action | no | wp-atom.php | |
| 14 | atom_head | action | no | wp-atom.php | |
| 15 | atom_ns | action | no | wp-atom.php | |
| 16 | attachment_icon | filter | no | /.../template-functions-post.php | |
| 17 | attachment_innerHTML | filter | no | /.../template-functions-post.php | |
| 18 | attachment_link | filter | no | /.../template-functions-links.php | |
| 19 | attachment_max_dims | filter | no | /.../template-functions-post.php | |
| 20 | attribute_escape | filter | YES | /.../functions-formatting.php | |
| 21 | author_email | filter | no | /.../comment-functions.php | |
| 22 | author_feed_link | filter | no | /.../feed-functions.php | |
| 23 | author_link | filter | no | /.../template-functions-author.php | |
| 24 | author_rewrite_rules | filter | no | /.../classes.php | |
| 25 | bloginfo | filter | no | /.../template-functions-general.php | |
| 26 | bloginfo_url | filter | YES | /.../template-functions-general.php | |
| 27 | category_description | filter | no | /.../template-functions-category.php | |
| 28 | category_feed_link | filter | no | /.../feed-functions.php | |
| 29 | category_link | filter | no | /.../template-functions-category.php | |
| 30 | category_rewrite_rules | filter | no | /.../classes.php | |
| 31 | category_save_pre | filter | no | /.../functions-post.php | |
| 32 | category_template | filter | no | /.../functions.php | |
| 33 | check_admin_referer | action | no | /.../pluggable-functions.php | |
| 34 | check_passwords | action | no | /.../admin-functions.php | |
| 35 | comments_number | filter | no | /.../comment-functions.php | |
| 36 | comments_popup_template | filter | no | /.../functions.php | |
| 37 | comments_rewrite_rules | filter | no | /.../classes.php | |
| 38 | comments_template | filter | no | /.../comment-functions.php | |
| 39 | comment_author | filter | no | /.../comment-functions.php | |
| 40 | comment_author_rss | filter | no | /.../feed-functions.php | |
| 41 | comment_closed | action | no | wp-comments-post.php | |
| 42 | comment_edit_pre | filter | no | /.../admin-functions.php | |
| 43 | comment_edit_redirect | filter | YES | /.../post.php | |
| 44 | comment_email | filter | no | /.../comment-functions.php | |
| 45 | comment_excerpt | filter | no | /.../comment-functions.php | |
| 46 | comment_flood_trigger | action | no | /.../comment-functions.php | |
| 47 | comment_form | action | no | /.../comments-popup.php | |
| 48 | comment_form | action | no | /.../comments.php | |
| 49 | comment_form | action | no | /.../comments-popup.php | |
| 50 | comment_form | action | no | /.../comments.php | |
| 51 | comment_id_not_found | action | no | wp-comments-post.php | |
| 52 | comment_moderation_subject | filter | no | /.../pluggable-functions.php | |
| 53 | comment_moderation_text | filter | no | /.../pluggable-functions.php | |
| 54 | comment_notification_headers | filter | no | /.../pluggable-functions.php | |
| 55 | comment_notification_subject | filter | no | /.../pluggable-functions.php | |
| 56 | comment_notification_text | filter | no | /.../pluggable-functions.php | |
| 57 | comment_on_draft | action | no | wp-comments-post.php | |
| 58 | comment_post | action | no | /.../comment-functions.php | |
| 59 | comment_post_redirect | filter | YES | wp-comments-post.php | |
| 60 | comment_save_pre | filter | no | /.../comment-functions.php | |
| 61 | comment_status_pre | filter | no | /.../functions-post.php | |
| 62 | comment_text | filter | no | /.../comment-functions.php | |
| 63 | comment_text_rss | filter | no | /.../feed-functions.php | |
| 64 | comment_url | filter | no | /.../comment-functions.php | |
| 65 | content_edit_pre | filter | no | /.../admin-functions.php | |
| 66 | content_filtered_save_pre | filter | YES | /.../functions-post.php | |
| 67 | content_save_pre | filter | no | /.../functions-post.php | |
| 68 | content_save_pre | filter | no | xmlrpc.php | |
| 69 | create_category | action | no | /.../admin-db.php | |
| 70 | create_user_query | filter | no | /.../registration-functions.php | |
| 71 | date_rewrite_rules | filter | no | /.../classes.php | |
| 72 | day_link | filter | no | /.../template-functions-links.php | |
| 73 | dbx_page_advanced | action | YES | /.../edit-page-form.php | |
| 74 | dbx_page_sidebar | action | YES | /.../edit-page-form.php | |
| 75 | dbx_post_advanced | action | YES | /.../edit-form-advanced.php | |
| 76 | dbx_post_sidebar | action | YES | /.../edit-form-advanced.php | |
| 77 | deactivate_trim({$_GET[plugin]} | note | action | no | /.../plugins.php |
| 78 | default_content | filter | no | /.../admin-functions.php | |
| 79 | default_excerpt | filter | no | /.../admin-functions.php | |
| 80 | default_title | filter | no | /.../admin-functions.php | |
| 81 | delete_attachment | action | no | /.../functions-post.php | |
| 82 | delete_category | action | no | /.../admin-db.php | |
| 83 | delete_comment | action | no | /.../post.php | |
| 84 | delete_comment | action | no | /.../comment-functions.php | |
| 85 | delete_link | action | no | /.../admin-db.php | |
| 86 | delete_post | action | no | /.../functions-post.php | |
| 87 | delete_user | action | no | /.../admin-db.php | |
| 88 | edit_attachment | action | no | /.../functions-post.php | |
| 89 | edit_category | action | no | /.../admin-db.php | |
| 90 | edit_comment | action | no | /.../comment-functions.php | |
| 91 | edit_form_advanced | action | no | /.../edit-form-advanced.php | |
| 92 | edit_link | action | no | /.../admin-db.php | |
| 93 | edit_page_form | action | no | /.../edit-page-form.php | |
| 94 | edit_post | action | no | /.../functions-post.php | |
| 95 | edit_user_profile | action | no | /.../user-edit.php | |
| 96 | excerpt_edit_pre | filter | no | /.../admin-functions.php | |
| 97 | excerpt_save_pre | filter | no | /.../functions-post.php | |
| 98 | feed_link | filter | no | /.../template-functions-links.php | |
| 99 | format_to_edit | filter | no | /.../functions-formatting.php | |
| 100 | format_to_post | filter | no | /.../functions-formatting.php | |
| 101 | generate_rewrite_rules | action | no | /.../classes.php | |
| 102 | gettext | filter | YES | /.../wp-l10n.php | |
| 103 | get_category | filter | YES | /.../functions.php | |
| 104 | get_comments_number | filter | no | /.../comment-functions.php | |
| 105 | get_comment_author | filter | no | /.../comment-functions.php | |
| 106 | get_comment_author_email | filter | no | /.../comment-functions.php | |
| 107 | get_comment_author_IP | filter | no | /.../comment-functions.php | |
| 108 | get_comment_author_link | filter | no | /.../comment-functions.php | |
| 109 | get_comment_author_url | filter | no | /.../comment-functions.php | |
| 110 | get_comment_author_url_link | filter | no | /.../comment-functions.php | |
| 111 | get_comment_date | filter | no | /.../comment-functions.php | |
| 112 | get_comment_excerpt | filter | no | /.../comment-functions.php | |
| 113 | get_comment_ID | filter | no | /.../comment-functions.php | |
| 114 | get_comment_text | filter | no | /.../comment-functions.php | |
| 115 | get_comment_time | filter | no | /.../comment-functions.php | |
| 116 | get_comment_type | filter | no | /.../comment-functions.php | |
| 117 | get_editable_authors | filter | no | /.../admin-db.php | |
| 118 | get_enclosed | filter | no | /.../functions-post.php | |
| 119 | get_others_drafts | filter | no | /.../admin-db.php | |
| 120 | get_pung | filter | no | /.../functions-post.php | |
| 121 | get_the_excerpt | filter | no | /.../template-functions-post.php | |
| 122 | get_the_guid | filter | no | /.../template-functions-post.php | |
| 123 | get_the_modified_time | filter | no | /.../template-functions-general.php | |
| 124 | get_the_time | filter | no | /.../template-functions-general.php | |
| 125 | get_to_ping | filter | no | /.../functions-post.php | |
| 126 | get_users_drafts | filter | no | /.../admin-db.php | |
| 127 | home_template | filter | no | /.../functions.php | |
| 128 | icon_dir | filter | no | /.../template-functions-post.php | |
| 129 | icon_dir_uri | filter | no | /.../template-functions-post.php | |
| 130 | init | action | no | wp-settings.php | |
| 131 | js_escape | filter | YES | /.../functions-formatting.php | |
| 132 | kubrick_header_color | filter | no | /.../functions.php | |
| 133 | kubrick_header_display | filter | no | /.../functions.php | |
| 134 | kubrick_header_image | filter | no | /.../functions.php | |
| 135 | link_rating | filter | no | /.../links.php | |
| 136 | list_cats | filter | no | /.../template-functions-category.php | |
| 137 | list_cats_exclusions | filter | no | /.../template-functions-category.php | |
| 138 | locale | filter | no | /.../wp-l10n.php | |
| 139 | loginout | filter | no | /.../template-functions-general.php | |
| 140 | loop_end | action | no | /.../classes.php | |
| 141 | loop_start | action | no | /.../classes.php | |
| 142 | lost_password | action | no | wp-login.php | |
| 143 | manage_posts_columns | filter | no | /.../edit.php | |
| 144 | manage_posts_custom_column | action | no | /.../edit.php | |
| 145 | mce_browsers | filter | no | /.../tiny_mce_gzip.php | |
| 146 | mce_buttons | filter | no | /.../tiny_mce_gzip.php | |
| 147 | mce_buttons_2 | filter | no | /.../tiny_mce_gzip.php | |
| 148 | mce_buttons_3 | filter | no | /.../tiny_mce_gzip.php | |
| 149 | mce_options | action | no | /.../tiny_mce_gzip.php | |
| 150 | mce_plugins | filter | no | /.../tiny_mce_gzip.php | |
| 151 | mce_theme | filter | no | /.../tiny_mce_gzip.php | |
| 152 | mce_valid_elements | filter | no | /.../tiny_mce_gzip.php | |
| 153 | mod_rewrite_rules | filter | no | /.../classes.php | |
| 154 | month_link | filter | no | /.../template-functions-links.php | |
| 155 | name_save_pre | filter | no | /.../functions-post.php | |
| 156 | option_{$setting} | note | filter | no | /.../functions.php |
| 157 | page_link | filter | no | /.../template-functions-links.php | |
| 158 | page_rewrite_rules | filter | no | /.../classes.php | |
| 159 | page_template | filter | no | /.../functions.php | |
| 160 | parse_query | action | no | /.../classes.php | |
| 161 | password_reset | action | no | wp-login.php | |
| 162 | personal_options_update | action | no | /.../profile-update.php | |
| 163 | phone_content | filter | no | wp-mail.php | |
| 164 | pingback_post | action | no | xmlrpc.php | |
| 165 | ping_status_pre | filter | no | /.../functions-post.php | |
| 166 | plugins_loaded | action | no | wp-settings.php | |
| 167 | posts_groupby | filter | no | /.../classes.php | |
| 168 | posts_join | filter | no | /.../classes.php | |
| 169 | posts_join_paged | filter | no | /.../classes.php | |
| 170 | posts_orderby | filter | no | /.../classes.php | |
| 171 | posts_request | filter | no | /.../classes.php | |
| 172 | posts_where | filter | no | /.../classes.php | |
| 173 | posts_where_paged | filter | no | /.../classes.php | |
| 174 | post_comments_feed_link | filter | no | /.../feed-functions.php | |
| 175 | post_link | filter | no | /.../template-functions-links.php | |
| 176 | post_mime_type_pre | filter | no | /.../functions-post.php | |
| 177 | post_rewrite_rules | filter | no | /.../classes.php | |
| 178 | prepend_attachment | filter | no | /.../template-functions-post.php | |
| 179 | preprocess_comment | filter | no | /.../comment-functions.php | |
| 180 | preview_post_link | filter | YES | /.../post.php | |
| 181 | pre_category_description | filter | YES | /.../admin-db.php | |
| 182 | pre_category_name | filter | YES | /.../admin-db.php | |
| 183 | pre_category_nicename | filter | YES | /.../admin-db.php | |
| 184 | pre_comment_approved | filter | no | /.../comment-functions.php | |
| 185 | pre_comment_author_email | filter | no | /.../comment-functions.php | |
| 186 | pre_comment_author_name | filter | no | /.../comment-functions.php | |
| 187 | pre_comment_author_url | filter | no | /.../comment-functions.php | |
| 188 | pre_comment_content | filter | no | /.../comment-functions.php | |
| 189 | pre_comment_user_agent | filter | no | /.../comment-functions.php | |
| 190 | pre_comment_user_ip | filter | no | /.../comment-functions.php | |
| 191 | pre_get_posts | action | no | /.../classes.php | |
| 192 | pre_link_description | filter | YES | /.../admin-db.php | |
| 193 | pre_link_image | filter | YES | /.../admin-db.php | |
| 194 | pre_link_name | filter | YES | /.../admin-db.php | |
| 195 | pre_link_notes | filter | YES | /.../admin-db.php | |
| 196 | pre_link_rel | filter | YES | /.../admin-db.php | |
| 197 | pre_link_rss | filter | YES | /.../admin-db.php | |
| 198 | pre_link_target | filter | YES | /.../admin-db.php | |
| 199 | pre_link_url | filter | YES | /.../admin-db.php | |
| 200 | pre_option_{$option->option_name} | note | filter | no | /.../functions.php |
| 201 | pre_ping | action | no | /.../comment-functions.php | |
| 202 | pre_user_description | filter | YES | /.../registration-functions.php | |
| 203 | pre_user_display_name | filter | YES | /.../registration-functions.php | |
| 204 | pre_user_email | filter | YES | /.../registration-functions.php | |
| 205 | pre_user_first_name | filter | YES | /.../registration-functions.php | |
| 206 | pre_user_id | filter | no | /.../comment-functions.php | |
| 207 | pre_user_last_name | filter | YES | /.../registration-functions.php | |
| 208 | pre_user_login | filter | YES | /.../registration-functions.php | |
| 209 | pre_user_nicename | filter | YES | /.../registration-functions.php | |
| 210 | pre_user_nickname | filter | YES | /.../registration-functions.php | |
| 211 | pre_user_url | filter | YES | /.../registration-functions.php | |
| 212 | private_to_published | action | no | /.../functions-post.php | |
| 213 | profile_personal_options | action | no | /.../profile.php | |
| 214 | profile_update | action | no | /.../registration-functions.php | |
| 215 | publish_phone | action | no | wp-mail.php | |
| 216 | publish_post | action | no | /.../functions-post.php | |
| 217 | query | filter | YES | /.../wp-db.php | |
| 218 | query_string | filter | no | /.../classes.php | |
| 219 | query_vars | filter | no | /.../classes.php | |
| 220 | rdf_header | action | no | wp-rdf.php | |
| 221 | rdf_item | action | no | wp-rdf.php | |
| 222 | rdf_ns | action | no | wp-rdf.php | |
| 223 | register | filter | no | /.../template-functions-general.php | |
| 224 | retreive_password | action | no | wp-login.php | |
| 225 | retrieve_password | action | no | wp-login.php | |
| 226 | rewrite_rules | filter | no | /.../classes.php | |
| 227 | rewrite_rules_array | filter | no | /.../classes.php | |
| 228 | richedit_pre | filter | no | /.../functions-formatting.php | |
| 229 | role_has_cap | filter | no | /.../capabilities.php | |
| 230 | root_rewrite_rules | filter | no | /.../classes.php | |
| 231 | rss2_head | action | no | wp-rss2.php | |
| 232 | rss2_item | action | no | wp-rss2.php | |
| 233 | rss2_ns | action | no | wp-rss2.php | |
| 234 | rss_head | action | no | wp-rss.php | |
| 235 | rss_item | action | no | wp-rss.php | |
| 236 | sanitize_comment_cookies | action | YES | wp-settings.php | |
| 237 | sanitize_title | filter | no | /.../functions-formatting.php | |
| 238 | sanitize_user | filter | YES | /.../functions-formatting.php | |
| 239 | save_post | action | no | /.../functions-post.php | |
| 240 | search_rewrite_rules | filter | no | /.../classes.php | |
| 241 | set_current_user | action | YES | /.../pluggable-functions.php | |
| 242 | show_password_fields | filter | no | /.../profile.php | |
| 243 | show_password_fields | filter | no | /.../user-edit.php | |
| 244 | show_password_fields | filter | no | /.../users.php | |
| 245 | show_user_profile | action | no | /.../profile.php | |
| 246 | shutdown | action | no | wp-settings.php | |
| 247 | simple_edit_form | action | no | /.../edit-form.php | |
| 248 | single_cat_title | filter | YES | /.../template-functions-general.php | |
| 249 | single_post_title | filter | no | /.../template-functions-general.php | |
| 250 | status_save_pre | filter | no | /.../functions-post.php | |
| 251 | stylesheet | filter | no | /.../functions.php | |
| 252 | stylesheet_directory | filter | no | /.../functions.php | |
| 253 | stylesheet_directory_uri | filter | no | /.../functions.php | |
| 254 | stylesheet_uri | filter | no | /.../functions.php | |
| 255 | switch_theme | action | no | /.../admin-functions.php | |
| 256 | switch_theme | action | no | /.../themes.php | |
| 257 | template | filter | no | /.../functions.php | |
| 258 | template_directory | filter | no | /.../functions.php | |
| 259 | template_directory_uri | filter | no | /.../functions.php | |
| 260 | template_redirect | action | no | /.../template-loader.php | |
| 261 | theme_root | filter | no | /.../functions.php | |
| 262 | theme_root_uri | filter | no | /.../functions.php | |
| 263 | the_author | filter | no | /.../template-functions-author.php | |
| 264 | the_author_email | filter | no | /.../template-functions-author.php | |
| 265 | the_category | filter | no | /.../template-functions-category.php | |
| 266 | the_category_rss | filter | no | /.../feed-functions.php | |
| 267 | the_content | filter | no | /.../functions-formatting.php | |
| 268 | the_content | filter | no | /.../functions-post.php | |
| 269 | the_content | filter | no | /.../template-functions-post.php | |
| 270 | the_content_rss | filter | no | /.../feed-functions.php | |
| 271 | the_date | filter | no | /.../template-functions-general.php | |
| 272 | the_excerpt | filter | no | /.../functions-post.php | |
| 273 | the_excerpt | filter | no | /.../template-functions-post.php | |
| 274 | the_excerpt_rss | filter | no | /.../feed-functions.php | |
| 275 | the_modified_time | filter | no | /.../template-functions-general.php | |
| 276 | the_permalink | filter | no | /.../template-functions-links.php | |
| 277 | the_posts | filter | no | /.../classes.php | |
| 278 | the_time | filter | no | /.../template-functions-general.php | |
| 279 | the_title | filter | no | /.../comment-functions.php | |
| 280 | the_title | filter | no | /.../feed-functions.php | |
| 281 | the_title | filter | no | /.../functions-post.php | |
| 282 | the_title | filter | no | /.../template-functions-links.php | |
| 283 | the_title | filter | no | /.../template-functions-post.php | |
| 284 | the_title | filter | no | wp-commentsrss2.php | |
| 285 | the_title_rss | filter | no | /.../feed-functions.php | |
| 286 | the_title_rss | filter | no | wp-commentsrss2.php | |
| 287 | the_weekday | filter | no | /.../template-functions-general.php | |
| 288 | the_weekday_date | filter | no | /.../template-functions-general.php | |
| 289 | thumbnail_filename | filter | no | /.../admin-functions.php | |
| 290 | tinymce_before_init | action | no | /.../tiny_mce_gzip.php | |
| 291 | title_edit_pre | filter | no | /.../admin-functions.php | |
| 292 | title_save_pre | filter | no | /.../functions-post.php | |
| 293 | trackback_post | action | no | wp-trackback.php | |
| 294 | update_option_{$option_name} | note | action | YES | /.../functions.php |
| 295 | update_user_query | filter | no | /.../registration-functions.php | |
| 296 | uploading_iframe_src | filter | no | /.../edit-form-advanced.php | |
| 297 | uploading_iframe_src | filter | no | /.../edit-page-form.php | |
| 298 | upload_dir | filter | no | /.../functions-post.php | |
| 299 | upload_mimes | filter | no | /.../functions-post.php | |
| 300 | user_has_cap | filter | no | /.../capabilities.php | |
| 301 | user_register | action | no | /.../registration-functions.php | |
| 302 | validate_username | filter | YES | /.../registration-functions.php | |
| 303 | wp_authenticate | action | no | wp-login.php | |
| 304 | wp_blacklist_check | action | no | /.../functions-post.php | |
| 305 | wp_footer | action | no | /.../functions.php | |
| 306 | wp_head | action | no | /.../functions.php | |
| 307 | wp_insert_post | action | no | /.../functions-post.php | |
| 308 | wp_list_pages | filter | no | /.../template-functions-post.php | |
| 309 | wp_login | action | no | wp-login.php | |
| 310 | wp_logout | action | no | wp-login.php | |
| 311 | wp_meta | action | no | /.../template-functions-general.php | |
| 312 | wp_set_comment_status | action | no | /.../comment-functions.php | |
| 313 | wp_title | filter | no | /.../template-functions-general.php | |
| 314 | xmlrpc_methods | filter | no | xmlrpc.php | |
| 315 | year_link | filter | no | /.../template-functions-links.php | |
| 316 | {$page_hook} | note | action | no | /.../admin.php |
| 317 | {$type}_template | note | filter | no | /.../functions.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.