Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 2.9

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 activated_plugin action YES 1
2 activate_plugin action YES 1
3 active_plugins filter YES 1
4 added_option action YES 1
5 added_postmeta action YES 1
6 added_term_relationship action YES 1
7 added_usermeta action YES 1
8 added_{$meta_type}_meta note action YES 1
9 add_option action YES 1
10 add_site_option_{$key} note action YES 1
11 add_term_relationship action YES 1
12 admin_head-media-upload-popup action YES 1
13 admin_post_thumbnail_html filter YES 1
14 admin_print_scripts-media-upload-popup action YES 1
15 admin_print_styles-media-upload-popup action YES 1
16 akismet_spam_count_incr filter YES 1
17 auth_redirect_scheme filter YES 1
18 autosave_generate_nonces action YES 1
19 begin_fetch_post_thumbnail_html action YES 1
20 comment_on_trash action YES 1
21 core_upgrade_preamble action YES 1
22 deactivated_plugin action YES 1
23 deactivate_plugin action YES 1
24 deleted_comment action YES 1
25 deleted_commentmeta action YES 1
26 deleted_option action YES 1
27 deleted_postmeta action YES 1
28 deleted_term_relationships action YES 1
29 deleted_term_taxonomy action YES 1
30 deleted_usermeta action YES 1
31 deleted_{$meta_type}_meta note action YES 1
32 delete_commentmeta action YES 1
33 delete_option action YES 1
34 delete_postmeta action YES 1
35 delete_site_option_{$key} note action YES 1
36 delete_term_relationships action YES 1
37 delete_term_taxonomy action YES 1
38 delete_usermeta action YES 1
39 edited_terms action YES 1
40 edited_term_taxonomies action YES 1
41 edited_term_taxonomy action YES 1
42 edit_category_form_fields action YES 1
43 edit_link_category_form_fields action YES 1
44 edit_pages_per_page filter YES 1
45 edit_tag_form_fields action YES 1
46 edit_terms action YES 1
47 edit_term_taxonomies action YES 1
48 edit_term_taxonomy action YES 1
49 edit_user_{$field} note filter YES 1
50 embed_cache_oembed_types filter YES 1
51 embed_defaults filter YES 1
52 embed_googlevideo filter YES 1
53 embed_handler_html filter YES 1
54 embed_maybe_make_link filter YES 1
55 embed_oembed_discover filter YES 1
56 embed_oembed_html filter YES 1
57 embed_polldaddy filter YES 1
58 end_fetch_post_thumbnail_html action YES 1
59 excerpt_more filter YES 1
60 extra_{$context}_headers note filter YES 1
61 fs_ftp_connection_types filter YES 1
62 get_delete_post_link filter YES 1
63 get_sample_permalink_html filter YES 1
64 http_response filter YES 1
65 image_edit_before_change filter YES 1
66 image_save_pre filter YES 1
67 intermediate_image_sizes_advanced filter YES 1
68 load_default_embeds filter YES 1
69 load_image_to_edit filter YES 1
70 load_image_to_edit_path filter YES 1
71 load_textdomain action YES 1
72 load_textdomain_mofile filter YES 1
73 oembed_dataparse filter YES 1
74 oembed_linktypes filter YES 1
75 oembed_providers filter YES 1
76 oembed_result filter YES 1
77 override_load_textdomain filter YES 1
78 pingback_useragent filter YES 1
79 post_submitbox_misc_actions action YES 1
80 post_thumbnail_html filter YES 1
81 post_thumbnail_size filter YES 1
82 pre_add_site_option_{$key} note filter YES 1
83 pre_http_request filter YES 1
84 pre_site_option_{$key} note filter YES 1
85 pre_site_transient_{$transient} note filter YES 1
86 pre_update_site_option_{$key} note filter YES 1
87 pre_user_{$field} note filter YES 1
88 redirect_page_location filter YES 1
89 redirect_post_location filter YES 1
90 safe_style_css filter YES 1
91 sanitize_text_field filter YES 1
92 set_user_role action YES 1
93 site_option_{$key} note filter YES 1
94 site_transient_{$transient} note filter YES 1
95 smilies_src filter YES 1
96 spammed_comment action YES 1
97 spam_comment action YES 1
98 the_author_posts_link filter YES 1
99 the_content_feed filter YES 1
100 the_terms filter YES 1
101 trashed_comment action YES 1
102 trashed_post action YES 1
103 trashed_post_comments action YES 1
104 trash_comment action YES 1
105 trash_post action YES 1
106 trash_post_comments action YES 1
107 unspammed_comment action YES 1
108 unspam_comment action YES 1
109 untrashed_comment action YES 1
110 untrashed_post action YES 1
111 untrashed_post_comments action YES 1
112 untrash_comment action YES 1
113 untrash_post action YES 1
114 untrash_post_comments action YES 1
115 updated_option action YES 1
116 updated_postmeta action YES 1
117 updated_usermeta action YES 1
118 updated_{$meta_type}_meta note action YES 1
119 update_option action YES 1
120 update_postmeta action YES 1
121 update_site_option_{$key} note action YES 1
122 update_usermeta action YES 1
123 update_{$meta_type}_meta note action YES 1
124 upload_per_page filter YES 1
125 user_contactmethods filter YES 1
126 user_{$field} note filter YES 1
127 user_{$name}_label note filter YES 1
128 wp-mail-php action YES 1
129 wp_handle_upload_prefilter filter YES 1
130 wp_save_image_file filter YES 1
131 _wp_relative_upload_path filter YES 1
132 {$option} note filter YES 1

Important warning about variable hooks

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.