Welcome, visitor! Log in
 

List of all WordPress action hooks

Hook Type Appearance In 3.0?
1 activated_plugin action 2.9 yes
2 activate_blog action 3.0 yes
3 activate_header action 3.0 yes
4 activate_plugin action 2.9 yes
5 activate_trim({$plugin} note action 2.9 yes
6 activate_trim({$_GET[plugin]} note action 2.0 Renamed in WP 2.1 (details)
7 activate_wp_head action 3.0 yes
8 activate_{$plugin} note action 2.1 yes
9 activity_box_end action 2.0 yes
10 added_existing_user action 3.0 yes
11 added_option action 2.9 yes
12 added_postmeta action 2.9 yes
13 added_term_relationship action 2.9 yes
14 added_usermeta action 2.9 yes
15 added_{$meta_type}_meta note action 2.9 yes
16 add_attachment action 2.0 yes
17 add_category action 1.5.2 DEPRECATED
18 add_category_form_pre action 2.1 yes
19 add_link action 2.0 yes
20 add_link_category_form_pre action 2.3 yes
21 add_meta_boxes action 3.0 yes
22 add_meta_boxes_comment action 3.0 yes
23 add_meta_boxes_link action 3.0 yes
24 add_meta_boxes_{$post_type} note action 3.0 yes
25 add_option action 2.9 yes
26 add_option_{$name} note action 2.5 DEPRECATED
27 add_option_{$option} note action 3.0 yes
28 add_site_option action 3.0 yes
29 add_site_option_{$key} note action 2.9 DEPRECATED
30 add_site_option_{$option} note action 3.0 yes
31 add_tag_form action 2.7 yes
32 add_tag_form_fields action 3.0 yes
33 add_tag_form_pre action 2.5 yes
34 add_term_relationship action 2.9 yes
35 add_user_to_blog action 3.0 yes
36 adminmenu action 2.5 yes
37 admin_action_{$_REQUEST[action]} note action 2.6 yes
38 admin_color_scheme_picker action 3.0 yes
39 admin_enqueue_scripts action 2.8 yes
40 admin_footer action 1.2.1 yes
41 admin_footer-{$GLOBALS[hook_suffix]} note action 3.0 yes
42 admin_footer-{$hook_suffix} note action 2.8 DEPRECATED
43 admin_head action 1.2.1 yes
44 admin_head-media-upload-popup action 2.9 yes
45 admin_head-{$hook_suffix} note action 2.7 yes
46 admin_head-{$page_hook} note action 2.1 DEPRECATED
47 admin_head-{$plugin_page} note action 2.1 DEPRECATED
48 admin_head_{$content_func} note action 2.5 yes
49 admin_head{$hook_suffix} note action 2.6 DEPRECATED
50 admin_init action 2.5 yes
51 admin_menu action 1.5 yes
52 admin_notices action 2.0.11 yes
53 admin_page_access_denied action 2.5 yes
54 admin_print_footer_scripts action 2.8 yes
55 admin_print_scripts action 2.1 yes
56 admin_print_scripts-media-upload-popup action 2.9 yes
57 admin_print_scripts-{$hook_suffix} note action 2.7 yes
58 admin_print_scripts-{$page_hook} note action 2.1 DEPRECATED
59 admin_print_scripts-{$plugin_page} note action 2.1 DEPRECATED
60 admin_print_scripts{$hook_suffix} note action 2.6 DEPRECATED
61 admin_print_styles action 2.6 yes
62 admin_print_styles-media-upload-popup action 2.9 yes
63 admin_print_styles-{$hook_suffix} note action 2.7 yes
64 admin_print_styles{$hook_suffix} note action 2.6 DEPRECATED
65 admin_xml_ns action 2.2 yes
66 after-{$taxonomy}-table note action 3.0 yes
67 after_db_upgrade action 2.8 yes
68 after_mu_upgrade action 3.0 yes
69 after_plugin_row action 2.3 yes
70 after_plugin_row_{$plugin_file} note action 2.7 yes
71 after_setup_theme action 3.0 yes
72 after_signup_form action 3.0 yes
73 akismet_spam_caught action 2.5 yes
74 akismet_tabs action 2.5 yes
75 app_entry action 3.0 yes
76 app_head action 3.0 yes
77 app_ns action 3.0 yes
78 app_publish_post action 2.2 yes
79 archive_blog action 3.0 yes
80 atompub_create_post action 2.8 yes
81 atompub_put_post action 2.8 yes
82 atom_comments_ns action 2.8 yes
83 atom_entry action 2.0 yes
84 atom_head action 2.0 yes
85 atom_ns action 2.0 yes
86 auth_cookie_bad_hash action 2.7 yes
87 auth_cookie_bad_username action 2.7 yes
88 auth_cookie_expired action 2.7 yes
89 auth_cookie_malformed action 2.7 yes
90 auth_cookie_valid action 2.7 yes
91 auth_redirect action 2.8 yes
92 autosave_generate_nonces action 2.9 DEPRECATED
93 before_signup_form action 3.0 yes
94 begin_fetch_post_thumbnail_html action 2.9 yes
95 blog_privacy_selector action 2.1 yes
96 check_admin_referer action 1.5.2 yes
97 check_ajax_referer action 2.1 yes
98 check_comment_flood action 2.3 yes
99 check_passwords action 1.5.2 yes
100 clean_attachment_cache action 3.0 yes
101 clean_object_term_cache action 2.5 yes
102 clean_page_cache action 2.5 yes
103 clean_post_cache action 2.5 yes
104 clean_term_cache action 2.5 yes
105 clear_auth_cookie action 2.7 yes
106 commentrss2_item action 2.1 yes
107 commentsrss2_head action 2.3 yes
108 comments_atom_head action 2.8 yes
109 comment_atom_entry action 2.2 yes
110 comment_closed action 1.5 yes
111 comment_duplicate_trigger action 3.0 yes
112 comment_flood_trigger action 1.5 yes
113 comment_form action 1.5 yes
114 comment_form_after action 3.0 yes
115 comment_form_after_fields action 3.0 yes
116 comment_form_before action 3.0 yes
117 comment_form_before_fields action 3.0 yes
118 comment_form_comments_closed action 3.0 yes
119 comment_form_logged_in_after action 3.0 yes
120 comment_form_must_log_in_after action 3.0 yes
121 comment_form_top action 3.0 yes
122 comment_id_not_found action 1.5 yes
123 comment_loop_start action 2.2 yes
124 comment_on_draft action 1.5.2 yes
125 comment_on_password_protected action 3.0 yes
126 comment_on_trash action 2.9 yes
127 comment_post action 1.2.1 yes
128 comment_relatedlinks_list action 2.5 DEPRECATED
129 comment_{$new_status}_{$comment->comment_type} note action 2.7 yes
130 comment_{$old_status}_to_{$new_status} note action 2.7 yes
131 core_files_loaded action 1.5 DEPRECATED
132 core_upgrade_preamble action 2.9 yes
133 created_category action 2.2 Renamed in WP 2.3 (details)
134 created_term action 2.3 yes
135 created_{$taxonomy} note action 2.3 yes
136 create_category action 2.0 Renamed in WP 2.3 (details)
137 create_term action 2.3 yes
138 create_{$taxonomy} note action 2.3 yes
139 dashmenu action 2.5 DEPRECATED
140 dbx_page_advanced action 2.0.11 DEPRECATED
141 dbx_page_sidebar action 2.0.11 DEPRECATED
142 dbx_post_advanced action 2.0.11 yes
143 dbx_post_sidebar action 2.0.11 yes
144 deactivated_plugin action 2.9 yes
145 deactivate_blog action 3.0 yes
146 deactivate_plugin action 2.9 yes
147 deactivate_trim({$plugin} note action 2.5 yes
148 deactivate_trim({$_GET[plugin]} note action 2.0 Renamed in WP 2.1 (details)
149 deactivate_{$plugin} note action 2.2 DEPRECATED
150 deleted_comment action 2.9 yes
151 deleted_commentmeta action 2.9 yes
152 deleted_link action 2.2 yes
153 deleted_option action 2.9 yes
154 deleted_post action 2.2 yes
155 deleted_postmeta action 2.9 yes
156 deleted_site_transient action 3.0 yes
157 deleted_term_relationships action 2.9 yes
158 deleted_term_taxonomy action 2.9 yes
159 deleted_transient action 3.0 yes
160 deleted_user action 2.8 yes
161 deleted_usermeta action 2.9 yes
162 deleted_{$meta_type}_meta note action 2.9 yes
163 delete_attachment action 2.0 yes
164 delete_blog action 3.0 yes
165 delete_category action 1.5.2 Renamed in WP 2.3 (details)
166 delete_comment action 1.2.1 yes
167 delete_commentmeta action 2.9 yes
168 delete_link action 2.0 yes
169 delete_option action 2.9 yes
170 delete_option_{$option} note action 3.0 yes
171 delete_post action 1.2.1 yes
172 delete_postmeta action 2.9 yes
173 delete_site_option action 3.0 yes
174 delete_site_option_{$key} note action 2.9 DEPRECATED
175 delete_site_option_{$option} note action 3.0 yes
176 delete_site_transient_{$transient} note action 3.0 yes
177 delete_term action 2.5 yes
178 delete_term_relationships action 2.9 yes
179 delete_term_taxonomy action 2.9 yes
180 delete_transient_{$transient} note action 3.0 yes
181 delete_user action 2.0 yes
182 delete_usermeta action 2.9 yes
183 delete_{$taxonomy} note action 2.3 yes
184 deprecated_argument_run action 3.0 yes
185 deprecated_file_included action 2.5 yes
186 deprecated_function_run action 2.5 yes
187 do_meta_boxes action 2.6 yes
188 do_robots action 2.1 yes
189 do_robotstxt action 2.1 yes
190 dynamic_sidebar action 3.0 yes
191 edited_category action 2.2 Renamed in WP 2.3 (details)
192 edited_term action 2.3 yes
193 edited_terms action 2.9 yes
194 edited_term_taxonomies action 2.9 yes
195 edited_term_taxonomy action 2.9 yes
196 edited_{$taxonomy} note action 2.3 yes
197 edit_attachment action 2.0 yes
198 edit_category action 2.0 Renamed in WP 2.3 (details)
199 edit_category_form action 2.1 yes
200 edit_category_form_fields action 2.9 yes
201 edit_category_form_pre action 2.1 yes
202 edit_comment action 1.2.1 yes
203 edit_form_advanced action 1.5 yes
204 edit_link action 2.0 yes
205 edit_link_category_form action 2.3 yes
206 edit_link_category_form_fields action 2.9 yes
207 edit_link_category_form_pre action 2.3 yes
208 edit_page_form action 1.5 yes
209 edit_post action 1.2.1 yes
210 edit_tag_form action 2.5 yes
211 edit_tag_form_fields action 2.9 yes
212 edit_tag_form_pre action 2.5 yes
213 edit_term action 2.3 yes
214 edit_terms action 2.9 yes
215 edit_term_taxonomies action 2.9 yes
216 edit_term_taxonomy action 2.9 yes
217 edit_user_profile action 2.0 yes
218 edit_user_profile_update action 2.7 yes
219 edit_{$taxonomy} note action 2.3 yes
220 end_fetch_post_thumbnail_html action 2.9 yes
221 export_wp action 2.3 yes
222 generate_rewrite_rules action 1.5 yes
223 get_footer action 2.1 yes
224 get_header action 2.1 yes
225 get_search_form action 2.7 yes
226 get_sidebar action 2.2 yes
227 get_template_part_{$slug} note action 3.0 yes
228 granted_super_admin action 3.0 yes
229 grant_super_admin action 3.0 yes
230 http_api_curl action 2.8 yes
231 http_api_debug action 2.8 yes
232 http_transport_get_debug action 2.8 yes
233 http_transport_post_debug action 2.8 yes
234 import_done action 2.2 DEPRECATED
235 import_end action 2.5 DEPRECATED
236 import_post_added action 2.5 DEPRECATED
237 import_post_meta action 2.5 DEPRECATED
238 import_start action 2.5 DEPRECATED
239 init action 1.5 yes
240 install_plugins_pre_{$tab} note action 2.7 yes
241 install_plugins_table_header action 2.7 yes
242 install_plugins_{$tab} note action 2.7 yes
243 install_themes_pre_{$tab} note action 2.8 yes
244 install_themes_table_header action 2.8 yes
245 install_themes_{$tab} note action 2.8 yes
246 in_admin_footer action 2.5 yes
247 in_admin_header action 3.0 yes
248 in_plugin_update_message-{$file} note action 2.8 yes
249 in_widget_form action 2.8 yes
250 link_relatedlinks_list action 2.5 DEPRECATED
251 load-widgetsphp action 2.8 yes
252 load-{$pagenow} note action 2.1 yes
253 load-{$page_hook} note action 2.1 yes
254 load-{$plugin_page} note action 2.1 yes
255 load_feed_engine action 2.3 yes
256 load_textdomain action 2.9 yes
257 login_form action 2.1 yes
258 login_form_{$action} note action 2.8 yes
259 login_head action 2.1 yes
260 loop_end action 2.0 yes
261 loop_start action 2.0 yes
262 lostpassword_form action 2.1 yes
263 lostpassword_post action 2.1 yes
264 lost_password action 1.5.2 yes
265 make_ham_blog action 3.0 yes
266 make_ham_user action 3.0 yes
267 make_spam_blog action 3.0 yes
268 make_spam_user action 3.0 yes
269 manage_blogs_custom_column action 3.0 yes
270 manage_comments_custom_column action 2.8 yes
271 manage_comments_nav action 2.5 yes
272 manage_link_custom_column action 2.1 yes
273 manage_media_custom_column action 2.5 yes
274 manage_media_media_column action 2.5 DEPRECATED
275 manage_pages_custom_column action 2.5 yes
276 manage_posts_custom_column action 1.5 yes
277 mce_options action 2.0 DEPRECATED
278 media_buttons action 2.5 yes
279 media_upload_{$tab} note action 2.5 yes
280 media_upload_{$type} note action 2.5 yes
281 muplugins_loaded action 2.8 yes
282 mu_activity_box_end action 3.0 yes
283 mu_rightnow_end action 3.0 yes
284 myblogs_allblogs_options action 3.0 yes
285 opml_head action 3.0 yes
286 page_relatedlinks_list action 2.5 DEPRECATED
287 parse_query action 1.5 yes
288 parse_request action 2.1 yes
289 password_reset action 1.5 yes
290 permalink_structure_changed action 2.8 yes
291 personal_options action 2.7 yes
292 personal_options_update action 2.0 yes
293 phpmailer_init action 2.2 yes
294 pingback_post action 1.5 yes
295 plugins_loaded action 1.5 yes
296 populate_options action 2.6 yes
297 post-flash-upload-ui action 2.6 yes
298 post-html-upload-ui action 2.6 yes
299 post-upload-ui action 2.6 yes
300 posts_selection action 2.3 yes
301 post_edit_form_tag action 3.0 yes
302 post_relatedlinks_list action 2.5 DEPRECATED
303 post_submitbox_misc_actions action 2.9 yes
304 post_submitbox_start action 2.7 yes
305 post_updated action 3.0 yes
306 pre-flash-upload-ui action 2.6 yes
307 pre-html-upload-ui action 2.6 yes
308 pre-upload-ui action 2.6 yes
309 preprocess_signup_form action 3.0 yes
310 pre_comment_on_post action 2.8 yes
311 pre_current_active_plugins action 3.0 yes
312 pre_delete_site_option_{$option} note action 3.0 yes
313 pre_get_posts action 2.0 yes
314 pre_ping action 2.0 yes
315 pre_post_update action 2.5 yes
316 pre_user_search action 3.0 yes
317 private_to_published action 1.5 yes
318 profile_personal_options action 2.0 yes
319 profile_update action 2.0 yes
320 publish_page action 2.1 Renamed in WP 2.3 (details)
321 publish_phone action 1.2.1 yes
322 publish_post action 1.2.1 Renamed in WP 2.3 (details)
323 quick_edit_custom_box action 2.7 yes
324 rdf_header action 2.0 yes
325 rdf_item action 2.0 yes
326 rdf_ns action 2.0 yes
327 register_form action 2.1 yes
328 register_post action 2.1 yes
329 register_sidebar action 3.0 yes
330 remove_user_from_blog action 3.0 yes
331 restrict_manage_posts action 2.1 yes
332 retreive_password action 1.5 yes
333 retrieve_password action 1.5.2 yes
334 retrieve_password_key action 2.5 yes
335 revoked_super_admin action 3.0 yes
336 revoke_super_admin action 3.0 yes
337 rightnow_end action 2.5 yes
338 right_now_content_table_end action 3.0 yes
339 right_now_discussion_table_end action 3.0 yes
340 right_now_table_end action 2.7 yes
341 rss2_comments_ns action 2.8 yes
342 rss2_head action 2.0 yes
343 rss2_item action 2.0 yes
344 rss2_ns action 2.0 yes
345 rss_head action 2.0 yes
346 rss_item action 2.0 yes
347 sanitize_comment_cookies action 2.0.11 yes
348 sanitize_title action 1.2.1 yes
349 save_post action 1.5 yes
350 send_headers action 2.1 yes
351 setted_site_transient action 3.0 yes
352 setted_transient action 3.0 yes
353 setup_theme action 2.6 yes
354 set_auth_cookie action 2.5 yes
355 set_current_user action 2.0.11 yes
356 set_logged_in_cookie action 2.6 yes
357 set_object_terms action 2.8 yes
358 set_site_transient_{$transient} note action 3.0 yes
359 set_transient_{$transient} note action 3.0 yes
360 set_user_role action 2.9 yes
361 show_user_profile action 2.0 yes
362 shutdown action 1.2.1 yes
363 sidebar_admin_page action 2.2 yes
364 sidebar_admin_setup action 2.2 yes
365 sidemenu action 2.5 DEPRECATED
366 signup_blogform action 3.0 yes
367 signup_extra_fields action 3.0 yes
368 signup_finished action 3.0 yes
369 signup_header action 3.0 yes
370 signup_hidden_fields action 3.0 yes
371 simple_edit_form action 1.5 DEPRECATED
372 spammed_comment action 2.9 yes
373 spam_comment action 2.9 yes
374 submitcomment_box action 2.5 DEPRECATED
375 submitlink_box action 2.5 yes
376 submitpage_box action 2.5 yes
377 submitpost_box action 2.5 yes
378 switch_blog action 3.0 yes
379 switch_theme action 1.5 yes
380 template_redirect action 1.5 yes
381 the_post action 2.8 yes
382 the_widget action 3.0 yes
383 tinymce_before_init action 2.0 DEPRECATED
384 tool_box action 2.8 yes
385 trackback_post action 1.2.1 yes
386 transition_comment_status action 2.7 yes
387 transition_post_status action 2.3 yes
388 trashed_comment action 2.9 yes
389 trashed_post action 2.9 yes
390 trashed_post_comments action 2.9 yes
391 trash_comment action 2.9 yes
392 trash_post action 2.9 yes
393 trash_post_comments action 2.9 yes
394 twentyten_credits action 3.0 yes
395 unarchive_blog action 3.0 yes
396 uninstall_{$file} note action 2.7 yes
397 unload_textdomain action 3.0 yes
398 unspammed_comment action 2.9 yes
399 unspam_comment action 2.9 yes
400 untrashed_comment action 2.9 yes
401 untrashed_post action 2.9 yes
402 untrashed_post_comments action 2.9 yes
403 untrash_comment action 2.9 yes
404 untrash_post action 2.9 yes
405 untrash_post_comments action 2.9 yes
406 update-custom_{$action} note action 2.8 yes
407 updated_option action 2.9 yes
408 updated_postmeta action 2.9 yes
409 updated_usermeta action 2.9 yes
410 updated_{$meta_type}_meta note action 2.9 yes
411 update_blog_public action 3.0 yes
412 update_option action 2.9 yes
413 update_option_{$option_name} note action 2.0.11 DEPRECATED
414 update_option_{$option} note action 3.0 yes
415 update_postmeta action 2.9 yes
416 update_site_option action 3.0 yes
417 update_site_option_{$key} note action 2.9 DEPRECATED
418 update_site_option_{$option} note action 3.0 yes
419 update_usermeta action 2.9 yes
420 update_wpmu_options action 3.0 yes
421 update_{$meta_type}_meta note action 2.9 yes
422 upload_files_{$tab} note action 2.1 DEPRECATED
423 user_edit_form_tag action 3.0 yes
424 user_new_form_tag action 3.0 yes
425 user_profile_update_errors action 2.8 yes
426 user_register action 1.5 yes
427 widgetsphp action 2.8 yes
428 widgets_admin_page action 3.0 yes
429 widgets_init action 2.2 yes
430 wp action 2.1 yes
431 wp-mailphp action 2.9 yes
432 wpmuadminedit action 3.0 yes
433 wpmuadminresult action 3.0 yes
434 wpmublogsaction action 3.0 yes
435 wpmueditblogaction action 3.0 yes
436 wpmu_activate_blog action 3.0 yes
437 wpmu_activate_user action 3.0 yes
438 wpmu_blog_updated action 3.0 yes
439 wpmu_delete_user action 3.0 yes
440 wpmu_new_blog action 3.0 yes
441 wpmu_new_user action 3.0 yes
442 wpmu_options action 3.0 yes
443 wpmu_update_blog_options action 3.0 yes
444 wpmu_upgrade_page action 3.0 yes
445 wpmu_upgrade_site action 3.0 yes
446 wp_ajax_nopriv_{$_POST[action]} note action 2.8 DEPRECATED
447 wp_ajax_nopriv_{$_REQUEST[action]} note action 2.9 yes
448 wp_ajax_{$_GET[action]} note action 2.7 yes
449 wp_ajax_{$_POST[action]} note action 2.1 yes
450 wp_authenticate action 1.5.2 yes
451 wp_blacklist_check action 1.5 yes
452 wp_create_nav_menu action 3.0 yes
453 wp_dashboard_setup action 2.5 yes
454 wp_default_scripts action 2.6 yes
455 wp_default_styles action 2.6 yes
456 wp_delete_nav_menu action 3.0 yes
457 wp_delete_post_revision action 2.6 yes
458 wp_enqueue_scripts action 2.8 yes
459 wp_feed_options action 3.0 yes
460 wp_footer action 1.5 yes
461 wp_head action 1.2.1 yes
462 wp_insert_comment action 2.8 yes
463 wp_insert_post action 2.0 yes
464 wp_loaded action 3.0 yes
465 wp_login action 1.5 yes
466 wp_login_failed action 2.5 yes
467 wp_logout action 1.5 yes
468 wp_meta action 1.5 yes
469 wp_print_footer_scripts action 2.8 yes
470 wp_print_scripts action 2.1 yes
471 wp_print_styles action 2.6 yes
472 wp_register_sidebar_widget action 3.0 yes
473 wp_restore_post_revision action 2.6 yes
474 wp_set_comment_status action 1.5 yes
475 wp_unregister_sidebar_widget action 3.0 yes
476 wp_update_comment_count action 2.3 yes
477 wp_update_nav_menu action 3.0 yes
478 wp_update_nav_menu_item action 3.0 yes
479 xmlrpc_call action 2.5 yes
480 xmlrpc_publish_post action 2.1 yes
481 _admin_menu action 2.2 yes
482 _wp_put_post_revision action 2.6 yes
483 {$action} note action 2.6 yes
484 {$bulk}?bulk_edit_custom_box:quick_edit_custom_box note action 2.7 yes
485 {$hook} note action 2.1 yes
486 {$new_status}_{$post->post_type} note action 2.3 yes
487 {$old_status}_to_{$new_status} note action 2.3 yes
488 {$page_hook} note action 1.5 yes
489 {$taxonomy}_add_form note action 3.0 yes
490 {$taxonomy}_add_form_fields note action 3.0 yes
491 {$taxonomy}_edit_form note action 3.0 yes
492 {$taxonomy}_edit_form_fields note action 3.0 yes
493 {$taxonomy}_pre_add_form note action 3.0 yes
494 {$taxonomy}_pre_edit_form note action 3.0 yes

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.