Welcome, visitor! Log in
 

New plugin hooks in WordPress 3.0

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.

  • 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? Instances
1 activate_blog action YES 1
2 activate_header action YES 1
3 activate_wp_head action YES 1
4 added_existing_user action YES 1
5 add_meta_boxes action YES 1
6 add_meta_boxes_comment action YES 1
7 add_meta_boxes_link action YES 1
8 add_meta_boxes_{$post_type} note action YES 1
9 add_option_{$option} note action YES 1
10 add_signup_meta filter YES 1
11 add_site_option action YES 1
12 add_site_option_{$option} note action YES 1
13 add_tag_form_fields action YES 1
14 add_user_to_blog action YES 1
15 admin_color_scheme_picker action YES 1
16 admin_memory_limit filter YES 1
17 admin_user_info_links filter YES 1
18 after-{$taxonomy}-table note action YES 1
19 after_mu_upgrade action YES 1
20 after_setup_theme action YES 1
21 after_signup_form action YES 1
22 allowed_themes filter YES 1
23 allow_subdirectory_install filter YES 1
24 all_plugins filter YES 1
25 app_entry action YES 1
26 app_head action YES 1
27 app_ns action YES 1
28 archive_blog action YES 1
29 author_template filter YES 1
30 before_signup_form action YES 1
31 blog_details filter YES 1
32 blog_option_{$setting} note filter YES 1
33 blog_redirect_404 filter YES 1
34 clean_attachment_cache action YES 1
35 comment_duplicate_trigger action YES 1
36 comment_form_after action YES 1
37 comment_form_after_fields action YES 1
38 comment_form_before action YES 1
39 comment_form_before_fields action YES 1
40 comment_form_comments_closed action YES 1
41 comment_form_defaults filter YES 1
42 comment_form_default_fields filter YES 1
43 comment_form_field_comment filter YES 1
44 comment_form_field_{$name} note filter YES 1
45 comment_form_logged_in filter YES 1
46 comment_form_logged_in_after action YES 1
47 comment_form_must_log_in_after action YES 1
48 comment_form_top action YES 1
49 comment_id_fields filter YES 1
50 comment_max_links_url filter YES 1
51 comment_on_password_protected action YES 1
52 current_screen filter YES 1
53 deactivate_blog action YES 1
54 deleted_site_transient action YES 1
55 deleted_transient action YES 1
56 delete_blog action YES 1
57 delete_option_{$option} note action YES 1
58 delete_site_email_content filter YES 1
59 delete_site_option action YES 1
60 delete_site_option_{$option} note action YES 1
61 delete_site_transient_{$transient} note action YES 1
62 delete_transient_{$transient} note action YES 1
63 deprecated_argument_run action YES 1
64 deprecated_argument_trigger_error filter YES 1
65 do_mu_upgrade filter YES 1
66 dynamic_sidebar action YES 1
67 edit_{$taxonomy}_per_page note filter YES 1
68 enable_edit_any_user_configuration filter YES 1
69 enable_post_by_email_configuration filter YES 1
70 enable_update_services_configuration filter YES 1
71 front_page_template filter YES 1
72 getimagesize_mimes_to_exts filter YES 1
73 get_avatar_comment_types filter YES 1
74 get_blogs_of_user filter YES 1
75 get_calendar filter YES 1
76 get_shortlink filter YES 1
77 get_template_part_{$slug} note action YES 1
78 get_the_date filter YES 1
79 global_terms_enabled filter YES 1
80 graceful_fail filter YES 1
81 graceful_fail_template filter YES 1
82 granted_super_admin action YES 1
83 grant_super_admin action YES 1
84 home_url filter YES 1
85 in_admin_header action YES 1
86 kses_allowed_protocols filter YES 1
87 lang_codes filter YES 1
88 login_form_bottom filter YES 1
89 login_form_defaults filter YES 1
90 login_form_middle filter YES 1
91 login_form_top filter YES 1
92 lostpassword_redirect filter YES 1
93 make_ham_blog action YES 1
94 make_ham_user action YES 1
95 make_spam_blog action YES 1
96 make_spam_user action YES 1
97 manage_blogs_custom_column action YES 1
98 manage_{$post_type}_posts_columns note filter YES 1
99 manage_{$screen->id}_columns note filter YES 1
100 ms_sites_per_page filter YES 1
101 ms_site_check filter YES 1
102 ms_users_per_page filter YES 1
103 mu_activity_box_end action YES 1
104 mu_dropdown_languages filter YES 1
105 mu_menu_items filter YES 1
106 mu_rightnow_end action YES 1
107 myblogs_allblogs_options action YES 1
108 myblogs_blog_actions filter YES 1
109 myblogs_options filter YES 1
110 nav_menu_attr_title filter YES 1
111 nav_menu_css_class filter YES 1
112 nav_menu_description filter YES 1
113 nav_menu_meta_box_object filter YES 1
114 network_admin_url filter YES 1
115 network_home_url filter YES 1
116 network_site_url filter YES 1
117 newblogname filter YES 1
118 newblog_notify_siteadmin filter YES 1
119 newuser_notify_siteadmin filter YES 1
120 new_admin_email_content filter YES 1
121 new_user_email_content filter YES 1
122 opml_head action YES 1
123 option_{$option} note filter YES 1
124 override_unload_textdomain filter YES 1
125 paginate_links filter YES 1
126 parent_file filter YES 1
127 plugin_locale filter YES 1
128 posts_search filter YES 1
129 post_edit_form_tag action YES 1
130 post_type_link filter YES 1
131 post_updated action YES 1
132 post_updated_messages filter YES 1
133 preprocess_signup_form action YES 1
134 pre_add_site_option_{$option} note filter YES 1
135 pre_current_active_plugins action YES 1
136 pre_delete_site_option_{$option} note action YES 1
137 pre_get_shortlink filter YES 1
138 pre_insert_term filter YES 1
139 pre_option_{$option} note filter YES 1
140 pre_post_link filter YES 1
141 pre_set_site_transient_{$transient} note filter YES 1
142 pre_set_transient_{$transient} note filter YES 1
143 pre_site_option_{$option} note filter YES 1
144 pre_update_option_{$option} note filter YES 1
145 pre_update_site_option_{$option} note filter YES 1
146 pre_user_search action YES 1
147 privacy_on_link_text filter YES 1
148 privacy_on_link_title filter YES 1
149 random_password filter YES 1
150 register_sidebar action YES 1
151 registration_redirect filter YES 1
152 remove_user_from_blog action YES 1
153 revoked_super_admin action YES 1
154 revoke_super_admin action YES 1
155 right_now_content_table_end action YES 1
156 right_now_discussion_table_end action YES 1
157 robots_txt filter YES 1
158 sanitize_key filter YES 1
159 screen_settings filter YES 1
160 search_link filter YES 1
161 setted_site_transient action YES 1
162 setted_transient action YES 1
163 set_site_transient_{$transient} note action YES 1
164 set_transient_{$transient} note action YES 1
165 shake_error_codes filter YES 1
166 show_adduser_fields filter YES 1
167 show_advanced_plugins filter YES 1
168 signup_another_blog_init filter YES 1
169 signup_blogform action YES 1
170 signup_blog_init filter YES 1
171 signup_create_blog_meta filter YES 1
172 signup_extra_fields action YES 1
173 signup_finished action YES 1
174 signup_header action YES 1
175 signup_hidden_fields action YES 1
176 signup_user_init filter YES 1
177 single_template filter YES 1
178 site_option_{$option} note filter YES 1
179 subdirectory_reserved_names filter YES 1
180 switch_blog action YES 1
181 tables_to_repair filter YES 1
182 taxonomy_feed_link filter YES 1
183 template_include filter YES 1
184 theme_locale filter YES 1
185 the_feed_link filter YES 1
186 the_shortlink filter YES 1
187 the_widget action YES 1
188 twentyten_attachment_size filter YES 1
189 twentyten_author_bio_avatar_size filter YES 1
190 twentyten_credits action YES 1
191 twentyten_header_image_height filter YES 1
192 twentyten_header_image_width filter YES 1
193 unarchive_blog action YES 1
194 unload_textdomain action YES 1
195 unzip_file_use_ziparchive filter YES 1
196 update_blog_public action YES 1
197 update_bulk_plugins_complete_actions filter YES 1
198 update_bulk_theme_complete_actions filter YES 1
199 update_option_{$option} note action YES 1
200 update_site_option action YES 1
201 update_site_option_{$option} note action YES 1
202 update_welcome_email filter YES 1
203 update_welcome_subject filter YES 1
204 update_welcome_user_email filter YES 1
205 update_welcome_user_subject filter YES 1
206 update_wpmu_options action YES 1
207 user_edit_form_tag action YES 1
208 user_new_form_tag action YES 1
209 walker_nav_menu_start_el filter YES 1
210 widgets_admin_page action YES 1
211 wpmuadminedit action YES 1
212 wpmuadminresult action YES 1
213 wpmublogsaction action YES 1
214 wpmueditblogaction action YES 1
215 wpmu_activate_blog action YES 1
216 wpmu_activate_user action YES 1
217 wpmu_active_signup filter YES 1
218 wpmu_blogs_columns filter YES 1
219 wpmu_blog_updated action YES 1
220 wpmu_delete_blog_upload_dir filter YES 1
221 wpmu_delete_user action YES 1
222 wpmu_drop_tables filter YES 1
223 wpmu_new_blog action YES 1
224 wpmu_new_user action YES 1
225 wpmu_options action YES 1
226 wpmu_signup_blog_notification filter YES 1
227 wpmu_signup_blog_notification_email filter YES 1
228 wpmu_signup_blog_notification_subject filter YES 1
229 wpmu_signup_user_notification filter YES 1
230 wpmu_signup_user_notification_email filter YES 1
231 wpmu_signup_user_notification_subject filter YES 1
232 wpmu_update_blog_options action YES 1
233 wpmu_upgrade_page action YES 1
234 wpmu_upgrade_site action YES 1
235 wpmu_users_columns filter YES 1
236 wpmu_validate_blog_signup filter YES 1
237 wpmu_validate_user_signup filter YES 1
238 wpmu_welcome_notification filter YES 1
239 wpmu_welcome_user_notification filter YES 1
240 wp_check_filetype_and_ext filter YES 1
241 wp_create_nav_menu action YES 1
242 wp_delete_nav_menu action YES 1
243 wp_die_handler filter YES 1
244 wp_edit_nav_menu_walker filter YES 1
245 wp_feed_options action YES 1
246 wp_get_nav_menus filter YES 1
247 wp_get_nav_menu_items filter YES 1
248 wp_link_pages_args filter YES 1
249 wp_loaded action YES 1
250 wp_nav_menu filter YES 1
251 wp_nav_menu_args filter YES 1
252 wp_nav_menu_container_allowedtags filter YES 1
253 wp_nav_menu_items filter YES 1
254 wp_nav_menu_{$menu->slug}_items note filter YES 1
255 wp_register_sidebar_widget action YES 1
256 wp_setup_nav_menu_item filter YES 1
257 wp_signup_location filter YES 1
258 wp_unregister_sidebar_widget action YES 1
259 wp_update_nav_menu action YES 1
260 wp_update_nav_menu_item action YES 1
261 wp_upload_bits filter YES 1
262 {$per_page} note filter YES 1
263 {$taxonomy}_add_form note action YES 1
264 {$taxonomy}_add_form_fields note action YES 1
265 {$taxonomy}_edit_form note action YES 1
266 {$taxonomy}_edit_form_fields note action YES 1
267 {$taxonomy}_pre_add_form note action YES 1
268 {$taxonomy}_pre_edit_form note action YES 1
269 {$taxonomy}_row_actions note filter YES 1
270 {$type}_upload_iframe_src 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.