All hooks in WP 2.3
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.
- To sort the table, click on a column title.
- Click a hook name to see details about the hook.
- Click a file name to see only hooks used in that file.
| Hook | Type | New? | File | ||
|---|---|---|---|---|---|
| 1 | ${field_no_prefix}_edit_pre | note | filter | YES | /.../post.php |
| 2 | ${field_no_prefix}_save_pre | note | filter | YES | /.../post.php |
| 3 | ${field}_pre | note | filter | YES | /.../post.php |
| 4 | ${new_status}_$post->post_type | note | action | YES | /.../post.php |
| 5 | ${old_status}_to_$new_status | note | action | YES | /.../post.php |
| 6 | ${taxonomy}_$field | note | filter | YES | /.../taxonomy.php |
| 7 | ${taxonomy}_$field_rss | note | filter | YES | /.../taxonomy.php |
| 8 | activate_ | note | action | no | /.../plugins.php |
| 9 | activity_box_end | action | no | /.../index.php | |
| 10 | add_attachment | action | no | /.../post.php | |
| 11 | add_category_form_pre | action | no | /.../edit-category-form.php | |
| 12 | add_link | action | no | /.../bookmark.php | |
| 13 | add_link_category_form_pre | action | YES | /.../edit-link-category-form.php | |
| 14 | add_ping | filter | no | /.../post.php | |
| 15 | admin_body_class | filter | YES | /.../admin-header.php | |
| 16 | admin_footer | action | no | /.../admin-footer.php | |
| 17 | admin_footer | action | no | /.../bookmarklet.php | |
| 18 | admin_head | action | no | /.../admin-header.php | |
| 19 | admin_head- | note | action | no | /.../admin-header.php |
| 20 | admin_menu | action | no | /.../menu.php | |
| 21 | admin_notices | action | no | /.../menu-header.php | |
| 22 | admin_print_scripts | action | no | /.../admin-header.php | |
| 23 | admin_print_scripts | action | no | /.../upload.php | |
| 24 | admin_print_scripts- | note | action | no | /.../admin-header.php |
| 25 | admin_xml_ns | action | no | /.../admin-header.php | |
| 26 | admin_xml_ns | action | no | /.../upload.php | |
| 27 | after_plugin_row | action | YES | /.../plugins.php | |
| 28 | allowed_redirect_hosts | filter | YES | /.../pluggable.php | |
| 29 | all_options | filter | no | /.../functions.php | |
| 30 | app_publish_post | action | no | /.../post.php | |
| 31 | atom_enclosure | filter | no | /.../feed.php | |
| 32 | atom_entry | action | no | /.../feed-atom.php | |
| 33 | atom_head | action | no | /.../feed-atom.php | |
| 34 | atom_ns | action | no | /.../feed-atom-comments.php | |
| 35 | atom_ns | action | no | /.../feed-atom.php | |
| 36 | attachment_icon | filter | no | /.../post-template.php | |
| 37 | attachment_innerHTML | filter | no | /.../post-template.php | |
| 38 | attachment_link | filter | no | /.../link-template.php | |
| 39 | attachment_max_dims | filter | no | /.../post-template.php | |
| 40 | attribute_escape | filter | no | /.../formatting.php | |
| 41 | author_email | filter | no | /.../comment-template.php | |
| 42 | author_feed_link | filter | no | /.../feed.php | |
| 43 | author_link | filter | no | /.../author-template.php | |
| 44 | author_rewrite_rules | filter | no | /.../rewrite.php | |
| 45 | autosave_interval | filter | no | /.../post.php | |
| 46 | autosave_interval | filter | no | /.../script-loader.php | |
| 47 | bloginfo | filter | no | /.../general-template.php | |
| 48 | bloginfo_rss | filter | no | /.../feed.php | |
| 49 | bloginfo_url | filter | no | /.../general-template.php | |
| 50 | blog_privacy_selector | action | no | /.../options-privacy.php | |
| 51 | category_description | filter | no | /.../classes.php | |
| 52 | category_feed_link | filter | no | /.../feed.php | |
| 53 | category_link | filter | no | /.../category-template.php | |
| 54 | category_rewrite_rules | filter | no | /.../rewrite.php | |
| 55 | category_template | filter | no | /.../theme.php | |
| 56 | cat_row | filter | YES | /.../template.php | |
| 57 | cat_rows | filter | no | /.../edit-link-categories.php | |
| 58 | cat_rows | filter | no | /.../template.php | |
| 59 | check_admin_referer | action | no | /.../pluggable.php | |
| 60 | check_ajax_referer | action | no | /.../pluggable.php | |
| 61 | check_comment_flood | action | YES | /.../comment.php | |
| 62 | clean_url | filter | YES | /.../formatting.php | |
| 63 | commentrss2_item | action | no | /.../feed-rss2-comments.php | |
| 64 | commentsrss2_head | action | YES | /.../feed-rss2-comments.php | |
| 65 | comments_array | filter | no | /.../comment-template.php | |
| 66 | comments_number | filter | no | /.../comment-template.php | |
| 67 | comments_popup_template | filter | no | /.../theme.php | |
| 68 | comments_rewrite_rules | filter | no | /.../rewrite.php | |
| 69 | comments_template | filter | no | /.../comment-template.php | |
| 70 | comment_atom_entry | action | no | /.../feed-atom-comments.php | |
| 71 | comment_author | filter | no | /.../comment-template.php | |
| 72 | comment_author_rss | filter | no | /.../feed.php | |
| 73 | comment_closed | action | no | wp-comments-post.php | |
| 74 | comment_edit_pre | filter | no | /.../comment.php | |
| 75 | comment_edit_redirect | filter | no | /.../comment.php | |
| 76 | comment_email | filter | no | /.../comment-template.php | |
| 77 | comment_excerpt | filter | no | /.../comment-template.php | |
| 78 | comment_feed_groupby | filter | no | /.../query.php | |
| 79 | comment_feed_join | filter | no | /.../query.php | |
| 80 | comment_feed_where | filter | no | /.../query.php | |
| 81 | comment_flood_filter | filter | no | /.../comment.php | |
| 82 | comment_flood_trigger | action | no | /.../comment.php | |
| 83 | comment_form | action | no | /.../comments-popup.php | |
| 84 | comment_form | action | no | /.../comments.php | |
| 85 | comment_form | action | no | /.../comments-popup.php | |
| 86 | comment_form | action | no | /.../comments.php | |
| 87 | comment_id_not_found | action | no | wp-comments-post.php | |
| 88 | comment_loop_start | action | no | /.../query.php | |
| 89 | comment_moderation_subject | filter | no | /.../pluggable.php | |
| 90 | comment_moderation_text | filter | no | /.../pluggable.php | |
| 91 | comment_notification_headers | filter | no | /.../pluggable.php | |
| 92 | comment_notification_subject | filter | no | /.../pluggable.php | |
| 93 | comment_notification_text | filter | no | /.../pluggable.php | |
| 94 | comment_on_draft | action | no | wp-comments-post.php | |
| 95 | comment_post | action | no | /.../comment.php | |
| 96 | comment_post_redirect | filter | no | wp-comments-post.php | |
| 97 | comment_save_pre | filter | no | /.../comment.php | |
| 98 | comment_text | filter | no | /.../comment-template.php | |
| 99 | comment_text_rss | filter | no | /.../feed.php | |
| 100 | comment_url | filter | no | /.../comment-template.php | |
| 101 | content_edit_pre | filter | no | /.../upload.php | |
| 102 | content_save_pre | filter | no | xmlrpc.php | |
| 103 | created_$taxonomy | note | action | YES | /.../taxonomy.php |
| 104 | created_term | action | YES | /.../taxonomy.php | |
| 105 | create_$taxonomy | note | action | YES | /.../taxonomy.php |
| 106 | create_term | action | YES | /.../taxonomy.php | |
| 107 | create_user_query | filter | no | /.../registration.php | |
| 108 | cron_schedules | filter | no | /.../cron.php | |
| 109 | dashboard_incoming_links_feed | filter | YES | /.../index-extra.php | |
| 110 | dashboard_incoming_links_link | filter | YES | /.../index-extra.php | |
| 111 | dashboard_primary_feed | filter | YES | /.../index-extra.php | |
| 112 | dashboard_primary_title | filter | YES | /.../index-extra.php | |
| 113 | dashboard_secondary_feed | filter | YES | /.../index-extra.php | |
| 114 | dashboard_secondary_link | filter | YES | /.../index-extra.php | |
| 115 | dashboard_secondary_title | filter | YES | /.../index-extra.php | |
| 116 | date_rewrite_rules | filter | no | /.../rewrite.php | |
| 117 | day_link | filter | no | /.../link-template.php | |
| 118 | dbx_page_advanced | action | no | /.../edit-page-form.php | |
| 119 | dbx_page_sidebar | action | no | /.../edit-page-form.php | |
| 120 | dbx_post_advanced | action | no | /.../edit-form-advanced.php | |
| 121 | dbx_post_sidebar | action | no | /.../edit-form-advanced.php | |
| 122 | deactivate_ | note | action | no | /.../plugins.php |
| 123 | default_content | filter | no | /.../post.php | |
| 124 | default_excerpt | filter | no | /.../post.php | |
| 125 | default_title | filter | no | /.../post.php | |
| 126 | deleted_link | action | no | /.../bookmark.php | |
| 127 | deleted_post | action | no | /.../post.php | |
| 128 | delete_$taxonomy | note | action | YES | /.../taxonomy.php |
| 129 | delete_attachment | action | no | /.../post.php | |
| 130 | delete_comment | action | no | /.../comment.php | |
| 131 | delete_link | action | no | /.../bookmark.php | |
| 132 | delete_post | action | no | /.../post.php | |
| 133 | delete_user | action | no | /.../user.php | |
| 134 | do_robots | action | no | /.../template-loader.php | |
| 135 | do_robotstxt | action | no | /.../functions.php | |
| 136 | edited_$taxonomy | note | action | YES | /.../taxonomy.php |
| 137 | edited_term | action | YES | /.../taxonomy.php | |
| 138 | edit_$field | note | filter | YES | /.../bookmark.php |
| 139 | edit_$field | note | filter | no | /.../post.php |
| 140 | edit_$taxonomy | note | action | YES | /.../taxonomy.php |
| 141 | edit_${taxonomy}_$field | note | filter | YES | /.../taxonomy.php |
| 142 | edit_attachment | action | no | /.../post.php | |
| 143 | edit_category_form | action | no | /.../edit-category-form.php | |
| 144 | edit_category_form_pre | action | no | /.../edit-category-form.php | |
| 145 | edit_comment | action | no | /.../comment.php | |
| 146 | edit_comment_link | filter | YES | /.../link-template.php | |
| 147 | edit_form_advanced | action | no | /.../edit-form-advanced.php | |
| 148 | edit_link | action | no | /.../bookmark.php | |
| 149 | edit_link_category_form | action | YES | /.../edit-link-category-form.php | |
| 150 | edit_link_category_form_pre | action | YES | /.../edit-link-category-form.php | |
| 151 | edit_page_form | action | no | /.../edit-page-form.php | |
| 152 | edit_post | action | no | /.../comment.php | |
| 153 | edit_post | action | no | /.../post.php | |
| 154 | edit_post_$field | note | filter | YES | /.../post.php |
| 155 | edit_post_link | filter | YES | /.../link-template.php | |
| 156 | edit_term | action | YES | /.../taxonomy.php | |
| 157 | edit_term_$field | note | filter | YES | /.../taxonomy.php |
| 158 | edit_user_profile | action | no | /.../user-edit.php | |
| 159 | explain_nonce_ | note | filter | no | /.../functions.php |
| 160 | export_wp | action | YES | /.../export.php | |
| 161 | feed_link | filter | no | /.../link-template.php | |
| 162 | format_to_edit | filter | no | /.../formatting.php | |
| 163 | format_to_post | filter | no | /.../formatting.php | |
| 164 | found_posts | filter | no | /.../query.php | |
| 165 | found_posts_query | filter | no | /.../query.php | |
| 166 | getarchives_join | filter | no | /.../general-template.php | |
| 167 | getarchives_where | filter | no | /.../general-template.php | |
| 168 | gettext | filter | no | /.../l10n.php | |
| 169 | get_$taxonomy | note | filter | YES | /.../taxonomy.php |
| 170 | get_attached_file | filter | no | /.../post.php | |
| 171 | get_bloginfo_rss | filter | no | /.../feed.php | |
| 172 | get_bookmarks | filter | no | /.../bookmark.php | |
| 173 | get_comment | filter | YES | /.../comment.php | |
| 174 | get_comments_number | filter | no | /.../comment-template.php | |
| 175 | get_comment_author | filter | no | /.../comment-template.php | |
| 176 | get_comment_author_email | filter | no | /.../comment-template.php | |
| 177 | get_comment_author_IP | filter | no | /.../comment-template.php | |
| 178 | get_comment_author_link | filter | no | /.../comment-template.php | |
| 179 | get_comment_author_url | filter | no | /.../comment-template.php | |
| 180 | get_comment_author_url_link | filter | no | /.../comment-template.php | |
| 181 | get_comment_date | filter | no | /.../comment-template.php | |
| 182 | get_comment_excerpt | filter | no | /.../comment-template.php | |
| 183 | get_comment_ID | filter | no | /.../comment-template.php | |
| 184 | get_comment_text | filter | no | /.../comment-template.php | |
| 185 | get_comment_time | filter | no | /.../comment-template.php | |
| 186 | get_comment_type | filter | no | /.../comment-template.php | |
| 187 | get_editable_authors | filter | no | /.../user.php | |
| 188 | get_edit_comment_link | filter | YES | /.../link-template.php | |
| 189 | get_edit_post_link | filter | YES | /.../link-template.php | |
| 190 | get_enclosed | filter | no | /.../post.php | |
| 191 | get_footer | action | no | /.../general-template.php | |
| 192 | get_header | action | no | /.../general-template.php | |
| 193 | get_lastpostdate | filter | YES | /.../post.php | |
| 194 | get_lastpostmodified | filter | YES | /.../post.php | |
| 195 | get_nested_categories | filter | YES | /.../template.php | |
| 196 | get_next_post_join | filter | no | /.../link-template.php | |
| 197 | get_next_post_sort | filter | no | /.../link-template.php | |
| 198 | get_next_post_where | filter | no | /.../link-template.php | |
| 199 | get_others_drafts | filter | no | /.../user.php | |
| 200 | get_pages | filter | no | /.../post.php | |
| 201 | get_previous_post_join | filter | no | /.../link-template.php | |
| 202 | get_previous_post_sort | filter | no | /.../link-template.php | |
| 203 | get_previous_post_where | filter | no | /.../link-template.php | |
| 204 | get_pung | filter | no | /.../post.php | |
| 205 | get_search_query | filter | YES | /.../general-template.php | |
| 206 | get_sidebar | action | no | /.../general-template.php | |
| 207 | get_tags | filter | YES | /.../category.php | |
| 208 | get_term | filter | YES | /.../taxonomy.php | |
| 209 | get_terms | filter | YES | /.../taxonomy.php | |
| 210 | get_the_excerpt | filter | no | /.../post-template.php | |
| 211 | get_the_guid | filter | no | /.../post-template.php | |
| 212 | get_the_modified_date | filter | no | /.../general-template.php | |
| 213 | get_the_modified_time | filter | no | /.../general-template.php | |
| 214 | get_the_tags | filter | YES | /.../category-template.php | |
| 215 | get_the_time | filter | no | /.../general-template.php | |
| 216 | get_to_ping | filter | no | /.../post.php | |
| 217 | get_users_drafts | filter | no | /.../user.php | |
| 218 | get_wp_title_rss | filter | no | /.../feed.php | |
| 219 | home_template | filter | no | /.../theme.php | |
| 220 | icon_dir | filter | no | /.../post.php | |
| 221 | icon_dir | filter | no | /.../post-template.php | |
| 222 | icon_dir_uri | filter | no | /.../post.php | |
| 223 | import_done | action | no | /.../blogger.php | |
| 224 | import_done | action | no | /.../mt.php | |
| 225 | import_upload_size_limit | filter | YES | /.../template.php | |
| 226 | init | action | no | wp-settings.php | |
| 227 | js_escape | filter | no | /.../formatting.php | |
| 228 | kubrick_header_color | filter | no | /.../functions.php | |
| 229 | kubrick_header_display | filter | no | /.../functions.php | |
| 230 | kubrick_header_image | filter | no | /.../functions.php | |
| 231 | link_category | filter | no | /.../link-import.php | |
| 232 | link_category | filter | no | /.../bookmark-template.php | |
| 233 | link_category | filter | no | /.../deprecated.php | |
| 234 | link_category | filter | no | wp-links-opml.php | |
| 235 | link_title | filter | no | wp-links-opml.php | |
| 236 | list_cats | filter | no | /.../category-template.php | |
| 237 | list_cats | filter | no | /.../classes.php | |
| 238 | list_terms_exclusions | filter | YES | /.../taxonomy.php | |
| 239 | load- | note | action | no | /.../admin.php |
| 240 | load-$pagenow | note | action | no | /.../admin.php |
| 241 | load_feed_engine | action | YES | /.../rss.php | |
| 242 | locale | filter | no | /.../l10n.php | |
| 243 | locale_stylesheet_uri | filter | no | /.../theme.php | |
| 244 | loginout | filter | no | /.../general-template.php | |
| 245 | login_errors | filter | no | wp-login.php | |
| 246 | login_form | action | no | wp-login.php | |
| 247 | login_head | action | no | wp-login.php | |
| 248 | login_headertitle | filter | no | wp-login.php | |
| 249 | login_headerurl | filter | no | wp-login.php | |
| 250 | login_message | filter | no | wp-login.php | |
| 251 | loop_end | action | no | /.../query.php | |
| 252 | loop_start | action | no | /.../query.php | |
| 253 | lostpassword_form | action | no | wp-login.php | |
| 254 | lostpassword_post | action | no | wp-login.php | |
| 255 | lost_password | action | no | wp-login.php | |
| 256 | manage_link_columns | filter | no | /.../link-manager.php | |
| 257 | manage_link_custom_column | action | no | /.../link-manager.php | |
| 258 | manage_posts_columns | filter | no | /.../edit.php | |
| 259 | manage_posts_custom_column | action | no | /.../edit-post-rows.php | |
| 260 | mce_browsers | filter | no | /.../tiny_mce_config.php | |
| 261 | mce_buttons | filter | no | /.../tiny_mce_config.php | |
| 262 | mce_buttons_2 | filter | no | /.../tiny_mce_config.php | |
| 263 | mce_buttons_3 | filter | no | /.../tiny_mce_config.php | |
| 264 | mce_css | filter | no | /.../tiny_mce_config.php | |
| 265 | mce_options | action | no | /.../tiny_mce_config.php | |
| 266 | mce_plugins | filter | no | /.../tiny_mce_config.php | |
| 267 | mce_valid_elements | filter | no | /.../tiny_mce_config.php | |
| 268 | mod_rewrite_rules | filter | no | /.../rewrite.php | |
| 269 | month_link | filter | no | /.../link-template.php | |
| 270 | nag_posts_limit | filter | YES | /.../post-new.php | |
| 271 | ngettext | filter | no | /.../l10n.php | |
| 272 | option_ | note | filter | no | /.../functions.php |
| 273 | page_link | filter | no | /.../link-template.php | |
| 274 | page_rewrite_rules | filter | no | /.../rewrite.php | |
| 275 | page_template | filter | no | /.../theme.php | |
| 276 | password_reset | action | no | wp-login.php | |
| 277 | personal_options_update | action | no | /.../profile-update.php | |
| 278 | phone_content | filter | no | wp-mail.php | |
| 279 | pingback_post | action | no | xmlrpc.php | |
| 280 | plugins_loaded | action | no | wp-settings.php | |
| 281 | postmeta_form_limit | filter | no | /.../template.php | |
| 282 | posts_distinct | filter | no | /.../query.php | |
| 283 | posts_fields | filter | no | /.../query.php | |
| 284 | posts_groupby | filter | no | /.../query.php | |
| 285 | posts_join | filter | no | /.../query.php | |
| 286 | posts_join_paged | filter | no | /.../query.php | |
| 287 | posts_orderby | filter | no | /.../query.php | |
| 288 | posts_request | filter | no | /.../query.php | |
| 289 | posts_results | filter | YES | /.../query.php | |
| 290 | posts_selection | action | YES | /.../query.php | |
| 291 | posts_where |