All hooks in WP 2.2.2
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 | activate_ | note | action | no | /.../plugins.php |
| 2 | activity_box_end | action | no | /.../index.php | |
| 3 | add_attachment | action | no | /.../post.php | |
| 4 | add_category | action | no | /.../admin-db.php | |
| 5 | add_category_form_pre | action | no | /.../edit-category-form.php | |
| 6 | add_link | action | no | /.../admin-db.php | |
| 7 | add_ping | filter | no | /.../post.php | |
| 8 | admin_footer | action | no | /.../admin-footer.php | |
| 9 | admin_footer | action | no | /.../bookmarklet.php | |
| 10 | admin_head | action | no | /.../admin-header.php | |
| 11 | admin_head- | note | action | no | /.../admin-header.php |
| 12 | admin_menu | action | no | /.../menu.php | |
| 13 | admin_notices | action | no | /.../menu-header.php | |
| 14 | admin_print_scripts | action | no | /.../admin-header.php | |
| 15 | admin_print_scripts | action | no | /.../upload.php | |
| 16 | admin_print_scripts- | note | action | no | /.../admin-header.php |
| 17 | admin_xml_ns | action | no | /.../admin-header.php | |
| 18 | all_options | filter | no | /.../functions.php | |
| 19 | app_publish_post | action | no | /.../post.php | |
| 20 | atom_enclosure | filter | no | /.../feed.php | |
| 21 | atom_entry | action | no | /.../feed-atom.php | |
| 22 | atom_head | action | no | /.../feed-atom.php | |
| 23 | atom_ns | action | no | /.../feed-atom-comments.php | |
| 24 | atom_ns | action | no | /.../feed-atom.php | |
| 25 | attachment_icon | filter | no | /.../post-template.php | |
| 26 | attachment_innerHTML | filter | no | /.../post-template.php | |
| 27 | attachment_link | filter | no | /.../link-template.php | |
| 28 | attachment_max_dims | filter | no | /.../post-template.php | |
| 29 | attribute_escape | filter | no | /.../formatting.php | |
| 30 | author_email | filter | no | /.../comment-template.php | |
| 31 | author_feed_link | filter | no | /.../feed.php | |
| 32 | author_link | filter | no | /.../author-template.php | |
| 33 | author_rewrite_rules | filter | no | /.../rewrite.php | |
| 34 | autosave_interval | filter | no | /.../admin-functions.php | |
| 35 | autosave_interval | filter | no | /.../script-loader.php | |
| 36 | bloginfo | filter | no | /.../general-template.php | |
| 37 | bloginfo_rss | filter | no | /.../feed.php | |
| 38 | bloginfo_url | filter | no | /.../general-template.php | |
| 39 | blog_privacy_selector | action | no | /.../options-privacy.php | |
| 40 | category_description | filter | no | /.../category-template.php | |
| 41 | category_description | filter | no | /.../classes.php | |
| 42 | category_feed_link | filter | no | /.../feed.php | |
| 43 | category_link | filter | no | /.../category-template.php | |
| 44 | category_rewrite_rules | filter | no | /.../rewrite.php | |
| 45 | category_save_pre | filter | no | /.../post.php | |
| 46 | category_template | filter | no | /.../theme.php | |
| 47 | cat_id_filter | filter | no | /.../admin-db.php | |
| 48 | cat_rows | filter | no | /.../admin-functions.php | |
| 49 | check_admin_referer | action | no | /.../pluggable.php | |
| 50 | check_ajax_referer | action | no | /.../pluggable.php | |
| 51 | commentrss2_item | action | no | /.../feed-rss2-comments.php | |
| 52 | comments_array | filter | no | /.../comment-template.php | |
| 53 | comments_number | filter | no | /.../comment-template.php | |
| 54 | comments_popup_template | filter | no | /.../theme.php | |
| 55 | comments_rewrite_rules | filter | no | /.../rewrite.php | |
| 56 | comments_template | filter | no | /.../comment-template.php | |
| 57 | comment_atom_entry | action | no | /.../feed-atom-comments.php | |
| 58 | comment_author | filter | no | /.../comment-template.php | |
| 59 | comment_author_rss | filter | no | /.../feed.php | |
| 60 | comment_closed | action | no | wp-comments-post.php | |
| 61 | comment_edit_pre | filter | no | /.../admin-functions.php | |
| 62 | comment_edit_redirect | filter | no | /.../comment.php | |
| 63 | comment_email | filter | no | /.../comment-template.php | |
| 64 | comment_excerpt | filter | no | /.../comment-template.php | |
| 65 | comment_feed_groupby | filter | no | /.../query.php | |
| 66 | comment_feed_join | filter | no | /.../query.php | |
| 67 | comment_feed_where | filter | no | /.../query.php | |
| 68 | comment_flood_filter | filter | no | /.../comment.php | |
| 69 | comment_flood_trigger | action | no | /.../comment.php | |
| 70 | comment_form | action | no | /.../comments-popup.php | |
| 71 | comment_form | action | no | /.../comments.php | |
| 72 | comment_form | action | no | /.../comments-popup.php | |
| 73 | comment_form | action | no | /.../comments.php | |
| 74 | comment_id_not_found | action | no | wp-comments-post.php | |
| 75 | comment_loop_start | action | no | /.../query.php | |
| 76 | comment_moderation_subject | filter | no | /.../pluggable.php | |
| 77 | comment_moderation_text | filter | no | /.../pluggable.php | |
| 78 | comment_notification_headers | filter | no | /.../pluggable.php | |
| 79 | comment_notification_subject | filter | no | /.../pluggable.php | |
| 80 | comment_notification_text | filter | no | /.../pluggable.php | |
| 81 | comment_on_draft | action | no | wp-comments-post.php | |
| 82 | comment_post | action | no | /.../comment.php | |
| 83 | comment_post_redirect | filter | no | wp-comments-post.php | |
| 84 | comment_save_pre | filter | no | /.../comment.php | |
| 85 | comment_status_pre | filter | no | /.../post.php | |
| 86 | comment_text | filter | no | /.../comment-template.php | |
| 87 | comment_text_rss | filter | no | /.../feed.php | |
| 88 | comment_url | filter | no | /.../comment-template.php | |
| 89 | content_edit_pre | filter | no | /.../admin-functions.php | |
| 90 | content_edit_pre | filter | no | /.../upload-functions.php | |
| 91 | content_filtered_save_pre | filter | no | /.../post.php | |
| 92 | content_save_pre | filter | no | /.../post.php | |
| 93 | content_save_pre | filter | no | xmlrpc.php | |
| 94 | created_category | action | no | /.../admin-db.php | |
| 95 | create_category | action | no | /.../admin-db.php | |
| 96 | create_user_query | filter | no | /.../registration.php | |
| 97 | cron_schedules | filter | no | /.../cron.php | |
| 98 | date_rewrite_rules | filter | no | /.../rewrite.php | |
| 99 | day_link | filter | no | /.../link-template.php | |
| 100 | dbx_page_advanced | action | no | /.../edit-page-form.php | |
| 101 | dbx_page_sidebar | action | no | /.../edit-page-form.php | |
| 102 | dbx_post_advanced | action | no | /.../edit-form-advanced.php | |
| 103 | dbx_post_sidebar | action | no | /.../edit-form-advanced.php | |
| 104 | deactivate_ | note | action | no | /.../plugins.php |
| 105 | default_content | filter | no | /.../admin-functions.php | |
| 106 | default_excerpt | filter | no | /.../admin-functions.php | |
| 107 | default_title | filter | no | /.../admin-functions.php | |
| 108 | deleted_link | action | no | /.../admin-db.php | |
| 109 | deleted_post | action | no | /.../post.php | |
| 110 | delete_attachment | action | no | /.../post.php | |
| 111 | delete_category | action | no | /.../admin-db.php | |
| 112 | delete_comment | action | no | /.../comment.php | |
| 113 | delete_link | action | no | /.../admin-db.php | |
| 114 | delete_post | action | no | /.../post.php | |
| 115 | delete_user | action | no | /.../admin-db.php | |
| 116 | do_robots | action | no | /.../template-loader.php | |
| 117 | do_robotstxt | action | no | /.../functions.php | |
| 118 | edited_category | action | no | /.../admin-db.php | |
| 119 | edit_attachment | action | no | /.../post.php | |
| 120 | edit_category | action | no | /.../post.php | |
| 121 | edit_category | action | no | /.../admin-db.php | |
| 122 | edit_category_form | action | no | /.../edit-category-form.php | |
| 123 | edit_category_form_pre | action | no | /.../edit-category-form.php | |
| 124 | edit_comment | action | no | /.../comment.php | |
| 125 | edit_form_advanced | action | no | /.../edit-form-advanced.php | |
| 126 | edit_link | action | no | /.../admin-db.php | |
| 127 | edit_page_form | action | no | /.../edit-page-form.php | |
| 128 | edit_post | action | no | /.../post.php | |
| 129 | edit_post | action | no | /.../comment.php | |
| 130 | edit_user_profile | action | no | /.../user-edit.php | |
| 131 | excerpt_edit_pre | filter | no | /.../admin-functions.php | |
| 132 | excerpt_save_pre | filter | no | /.../post.php | |
| 133 | explain_nonce_ | note | filter | no | /.../functions.php |
| 134 | feed_link | filter | no | /.../link-template.php | |
| 135 | format_to_edit | filter | no | /.../formatting.php | |
| 136 | format_to_post | filter | no | /.../formatting.php | |
| 137 | found_posts | filter | no | /.../query.php | |
| 138 | found_posts_query | filter | no | /.../query.php | |
| 139 | getarchives_join | filter | no | /.../general-template.php | |
| 140 | getarchives_where | filter | no | /.../general-template.php | |
| 141 | gettext | filter | no | /.../l10n.php | |
| 142 | get_attached_file | filter | no | /.../post.php | |
| 143 | get_bloginfo_rss | filter | no | /.../feed.php | |
| 144 | get_bookmarks | filter | no | /.../bookmark.php | |
| 145 | get_categories | filter | no | /.../category.php | |
| 146 | get_category | filter | no | /.../category.php | |
| 147 | get_comments_number | filter | no | /.../comment-template.php | |
| 148 | get_comment_author | filter | no | /.../comment-template.php | |
| 149 | get_comment_author_email | filter | no | /.../comment-template.php | |
| 150 | get_comment_author_IP | filter | no | /.../comment-template.php | |
| 151 | get_comment_author_link | filter | no | /.../comment-template.php | |
| 152 | get_comment_author_url | filter | no | /.../comment-template.php | |
| 153 | get_comment_author_url_link | filter | no | /.../comment-template.php | |
| 154 | get_comment_date | filter | no | /.../comment-template.php | |
| 155 | get_comment_excerpt | filter | no | /.../comment-template.php | |
| 156 | get_comment_ID | filter | no | /.../comment-template.php | |
| 157 | get_comment_text | filter | no | /.../comment-template.php | |
| 158 | get_comment_time | filter | no | /.../comment-template.php | |
| 159 | get_comment_type | filter | no | /.../comment-template.php | |
| 160 | get_editable_authors | filter | no | /.../admin-db.php | |
| 161 | get_enclosed | filter | no | /.../post.php | |
| 162 | get_footer | action | no | /.../general-template.php | |
| 163 | get_header | action | no | /.../general-template.php | |
| 164 | get_next_post_join | filter | no | /.../link-template.php | |
| 165 | get_next_post_sort | filter | no | /.../link-template.php | |
| 166 | get_next_post_where | filter | no | /.../link-template.php | |
| 167 | get_others_drafts | filter | no | /.../admin-db.php | |
| 168 | get_pages | filter | no | /.../post.php | |
| 169 | get_previous_post_join | filter | no | /.../link-template.php | |
| 170 | get_previous_post_sort | filter | no | /.../link-template.php | |
| 171 | get_previous_post_where | filter | no | /.../link-template.php | |
| 172 | get_pung | filter | no | /.../post.php | |
| 173 | get_sidebar | action | no | /.../general-template.php | |
| 174 | get_the_excerpt | filter | no | /.../post-template.php | |
| 175 | get_the_guid | filter | no | /.../post-template.php | |
| 176 | get_the_modified_date | filter | no | /.../general-template.php | |
| 177 | get_the_modified_time | filter | no | /.../general-template.php | |
| 178 | get_the_time | filter | no | /.../general-template.php | |
| 179 | get_to_ping | filter | no | /.../post.php | |
| 180 | get_users_drafts | filter | no | /.../admin-db.php | |
| 181 | get_wp_title_rss | filter | no | /.../feed.php | |
| 182 | home_template | filter | no | /.../theme.php | |
| 183 | icon_dir | filter | no | /.../post-template.php | |
| 184 | icon_dir | filter | no | /.../post.php | |
| 185 | icon_dir_uri | filter | no | /.../post.php | |
| 186 | import_done | action | no | /.../blogger.php | |
| 187 | init | action | no | wp-settings.php | |
| 188 | js_escape | filter | no | /.../formatting.php | |
| 189 | kubrick_header_color | filter | no | /.../functions.php | |
| 190 | kubrick_header_display | filter | no | /.../functions.php | |
| 191 | kubrick_header_image | filter | no | /.../functions.php | |
| 192 | link_category | filter | no | wp-links-opml.php | |
| 193 | link_category | filter | no | /.../link-import.php | |
| 194 | link_category | filter | no | /.../link-manager.php | |
| 195 | link_category | filter | no | /.../bookmark-template.php | |
| 196 | link_description | filter | no | /.../link-manager.php | |
| 197 | link_description | filter | no | /.../bookmark-template.php | |
| 198 | link_rating | filter | no | /.../bookmark-template.php | |
| 199 | link_title | filter | no | wp-links-opml.php | |
| 200 | link_title | filter | no | /.../link-manager.php | |
| 201 | link_title | filter | no | /.../bookmark-template.php | |
| 202 | list_cats | filter | no | /.../category-template.php | |
| 203 | list_cats | filter | no | /.../classes.php | |
| 204 | list_cats_exclusions | filter | no | /.../category.php | |
| 205 | load- | note | action | no | /.../admin.php |
| 206 | load-$pagenow | note | action | no | /.../admin.php |
| 207 | locale | filter | no | /.../l10n.php | |
| 208 | locale_stylesheet_uri | filter | no | /.../theme.php | |
| 209 | loginout | filter | no | /.../general-template.php | |
| 210 | login_errors | filter | no | wp-login.php | |
| 211 | login_form | action | no | wp-login.php | |
| 212 | login_head | action | no | wp-login.php | |
| 213 | login_headertitle | filter | no | wp-login.php | |
| 214 | login_headerurl | filter | no | wp-login.php | |
| 215 | login_message | filter | no | wp-login.php | |
| 216 | loop_end | action | no | /.../query.php | |
| 217 | loop_start | action | no | /.../query.php | |
| 218 | lostpassword_form | action | no | wp-login.php | |
| 219 | lostpassword_post | action | no | wp-login.php | |
| 220 | lost_password | action | no | wp-login.php | |
| 221 | manage_link_columns | filter | no | /.../link-manager.php | |
| 222 | manage_link_custom_column | action | no | /.../link-manager.php | |
| 223 | manage_posts_columns | filter | no | /.../edit.php | |
| 224 | manage_posts_custom_column | action | no | /.../edit.php | |
| 225 | mce_browsers | filter | no | /.../tiny_mce_config.php | |
| 226 | mce_buttons | filter | no | /.../tiny_mce_config.php | |
| 227 | mce_buttons_2 | filter | no | /.../tiny_mce_config.php | |
| 228 | mce_buttons_3 | filter | no | /.../tiny_mce_config.php | |
| 229 | mce_css | filter | no | /.../tiny_mce_config.php | |
| 230 | mce_options | action | no | /.../tiny_mce_config.php | |
| 231 | mce_plugins | filter | no | /.../tiny_mce_config.php | |
| 232 | mce_valid_elements | filter | no | /.../tiny_mce_config.php | |
| 233 | mod_rewrite_rules | filter | no | /.../rewrite.php | |
| 234 | month_link | filter | no | /.../link-template.php | |
| 235 | name_save_pre | filter | no | /.../post.php | |
| 236 | ngettext | filter | no | /.../l10n.php | |
| 237 | option_ | note | filter | no | /.../functions.php |
| 238 | page_link | filter | no | /.../link-template.php | |
| 239 | page_rewrite_rules | filter | no | /.../rewrite.php | |
| 240 | page_template | filter | no | /.../theme.php | |
| 241 | password_reset | action | no | wp-login.php | |
| 242 | personal_options_update | action | no | /.../profile-update.php | |
| 243 | phone_content | filter | no | wp-mail.php | |
| 244 | pingback_post | action | no | xmlrpc.php | |
| 245 | ping_status_pre | filter | no | /.../post.php | |
| 246 | plugins_loaded | action | no | wp-settings.php | |
| 247 | postmeta_form_limit | filter | no | /.../admin-functions.php | |
| 248 | posts_distinct | filter | no | /.../query.php | |
| 249 | posts_fields | filter | no | /.../query.php | |
| 250 | posts_groupby | filter | no | /.../query.php | |
| 251 | posts_join | filter | no | /.../query.php | |
| 252 | posts_join_paged | filter | no | /.../query.php | |
| 253 | posts_orderby | filter | no | /.../query.php | |
| 254 | posts_request | filter | no | /.../query.php | |
| 255 | posts_where | filter | no | /.../query.php | |
| 256 | posts_where_paged | filter | no | /.../query.php | |
| 257 | post_comments_feed_link | filter | no | /.../link-template.php | |
| 258 | post_limits | filter | no | /.../query.php | |
| 259 | post_link | filter | no | /.../link-template.php | |
| 260 | post_mime_type_pre | filter | no | /.../post.php | |
| 261 | post_rewrite_rules | filter | no | /.../rewrite.php | |
| 262 | prepend_attachment | filter | no | /.../post-template.php | |
| 263 | preprocess_comment | filter | no | /.../comment.php | |
| 264 | preview_post_link | filter | no | /.../edit-form-advanced.php | |
| 265 | preview_post_link | filter | no | /.../edit-page-form.php | |
| 266 | pre_category_description | filter | no | /.../admin-db.php | |
| 267 | pre_category_name | filter | no | /.../admin-db.php | |
| 268 | pre_category_nicename | filter | no | /.../admin-db.php | |
| 269 | pre_comment_approved | filter | no | /.../comment.php | |
| 270 | pre_comment_author_email | filter | no | /.../comment.php | |
| 271 | pre_comment_author_name | filter | no | /.../comment.php | |
| 272 | pre_comment_author_url | filter | no | /.../comment.php | |
| 273 | pre_comment_content | filter | no | /.../comment.php | |
| 274 | pre_comment_user_agent | filter | no | /.../comment.php | |
| 275 | pre_comment_user_ip | filter | no | /.../comment.php | |
| 276 | pre_link_description | filter | no | /.../admin-db.php | |
| 277 | pre_link_image | filter | no | /.../admin-db.php | |
| 278 | pre_link_name | filter | no | /.../admin-db.php | |
| 279 | pre_link_notes | filter | no | /.../admin-db.php | |
| 280 | pre_link_rel | filter | no | /.../admin-db.php | |
| 281 | pre_link_rss | filter | no | /.../admin-db.php | |
| 282 | pre_link_target | filter | no | /.../admin-db.php | |
| 283 | pre_link_url | filter | no | /.../admin-db.php | |
| 284 | pre_option_ | note | filter | no | /.../functions.php |
| 285 | pre_upload_error | filter | no | xmlrpc.php | |
| 286 | pre_user_description | filter | no | /.../registration.php | |
| 287 | pre_user_display_name | filter | no | /.../registration.php | |
| 288 | pre_user_email | filter | no | /.../registration.php | |
| 289 | pre_user_first_name | filter | no | /.../registration.php | |
| 290 | pre_user_id | filter | no |