Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

List of all WordPress action hooks

WordPress coders, theme authors, and plugin developers use the hooks listed below to change how WordPress behaves without needing to edit any PHP source files. Use this index to identify the WordPress hooks that you need.

Hook Type Appearance In 6.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_wp_head action 3.0 yes
6 activate_{$plugin} note action 2.0 yes
7 activity_box_end action 2.0 yes
8 added_existing_user action 3.0 yes
9 added_option action 2.9 yes
10 added_postmeta action 2.9 DEPRECATED
11 added_term_relationship action 2.9 yes
12 added_usermeta action 2.9 yes
13 added_{$meta_type}_meta note action 2.9 yes
14 add_admin_bar_menus action 3.1 yes
15 add_attachment action 2.0 yes
16 add_category action 1.5.2 DEPRECATED
17 add_category_form_pre action 2.1 DEPRECATED
18 add_inline_data action 5.0 yes
19 add_link action 2.0 yes
20 add_link_category_form_pre action 2.3 DEPRECATED
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 DEPRECATED
32 add_tag_form_fields action 3.0 yes
33 add_tag_form_pre action 2.5 DEPRECATED
34 add_term_relationship action 2.9 yes
35 add_user_role action 4.3 yes
36 add_user_to_blog action 3.0 yes
37 add_{$meta_type}_meta note action 3.1 yes
38 adminmenu action 2.5 yes
39 admin_action_{$action} note action 2.6 yes
40 admin_bar_init action 3.1 yes
41 admin_bar_menu action 3.1 yes
42 admin_color_scheme_picker action 3.0 yes
43 admin_email_confirm action 5.3 yes
44 admin_email_confirm_form action 5.3 yes
45 admin_enqueue_scripts action 2.8 yes
46 admin_footer action 1.2.1 yes
47 admin_footer-press-this-php action 4.2 DEPRECATED
48 admin_footer-widgets-php action 3.9 yes
49 admin_footer-{$hook_suffix} note action 2.8 yes
50 admin_head action 1.2.1 yes
51 admin_head-media-upload-popup action 2.9 yes
52 admin_head-press-this-php action 3.7 DEPRECATED
53 admin_head-{$hook_suffix} note action 2.7 yes
54 admin_head-{$page_hook} note action 2.1 DEPRECATED
55 admin_head-{$plugin_page} note action 2.1 DEPRECATED
56 admin_head_{$content_func} note action 2.5 yes
57 admin_head{$hook_suffix} note action 2.6 DEPRECATED
58 admin_init action 2.5 yes
59 admin_menu action 1.5.2 yes
60 admin_notices action 2.0.11 yes
61 admin_page_access_denied action 2.5 yes
62 admin_post action 4.0 yes
63 admin_post_nopriv action 4.0 yes
64 admin_post_nopriv_{$action} note action 4.0 yes
65 admin_post_{$action} note action 4.0 yes
66 admin_print_footer_scripts action 2.8 yes
67 admin_print_footer_scripts-press-this-php action 4.6 DEPRECATED
68 admin_print_footer_scripts-widgets-php action 4.6 yes
69 admin_print_footer_scripts-{$hook_suffix} note action 4.6 yes
70 admin_print_scripts action 2.1 yes
71 admin_print_scripts-media-upload-popup action 2.9 yes
72 admin_print_scripts-press-this-php action 3.7 DEPRECATED
73 admin_print_scripts-widgets-php action 3.9 yes
74 admin_print_scripts-{$hook_suffix} note action 2.7 yes
75 admin_print_scripts-{$page_hook} note action 2.1 DEPRECATED
76 admin_print_scripts-{$plugin_page} note action 2.1 DEPRECATED
77 admin_print_scripts{$hook_suffix} note action 2.6 DEPRECATED
78 admin_print_styles action 2.6 yes
79 admin_print_styles-media-upload-popup action 2.9 yes
80 admin_print_styles-press-this-php action 3.7 DEPRECATED
81 admin_print_styles-widgets-php action 3.9 yes
82 admin_print_styles-{$hook_suffix} note action 2.7 yes
83 admin_print_styles{$hook_suffix} note action 2.6 DEPRECATED
84 admin_xml_ns action 2.2 yes
85 after-{$taxonomy}-table note action 3.0 yes
86 after_core_auto_updates_settings action 5.6 yes
87 after_db_upgrade action 2.8 yes
88 after_delete_post action 3.2 yes
89 after_menu_locations_table action 3.6 yes
90 after_mu_upgrade action 3.0 yes
91 after_password_reset action 4.4 yes
92 after_plugin_row action 2.3 yes
93 after_plugin_row_{$plugin_file} note action 2.7 yes
94 after_setup_theme action 3.0 yes
95 after_signup_form action 3.0 yes
96 after_signup_site action 4.4 yes
97 after_signup_user action 4.4 yes
98 after_switch_theme action 3.3 yes
99 after_theme_row action 3.1 yes
100 after_theme_row_{$stylesheet} note action 3.5 yes
101 after_theme_row_{$theme_key} note action 3.1 DEPRECATED
102 after_wp_tiny_mce action 3.2 yes
103 akismet_batch_delete_count action 5.0 yes
104 akismet_comment_check_response action 3.6 yes
105 akismet_delete_commentmeta_batch action 4.8 yes
106 akismet_delete_comment_batch action 4.8 yes
107 akismet_https_disabled action 4.2 yes
108 akismet_https_request_failure action 4.2 yes
109 akismet_https_request_pre action 4.2 yes
110 akismet_http_request_pre action 4.2 yes
111 akismet_request_failure action 4.2 yes
112 akismet_scheduled_recheck action 4.2 yes
113 akismet_spam_caught action 2.5 yes
114 akismet_ssl_disabled action 4.2 yes
115 akismet_submit_nonspam_comment action 3.1 yes
116 akismet_submit_spam_comment action 3.1 yes
117 akismet_tabs action 2.5 DEPRECATED
118 all_admin_notices action 3.1 yes
119 application_password_did_authenticate action 5.6 yes
120 application_password_failed_authentication action 5.6 yes
121 app_entry action 3.0 DEPRECATED
122 app_head action 3.0 DEPRECATED
123 app_ns action 3.0 DEPRECATED
124 app_publish_post action 2.2 DEPRECATED
125 archive_blog action 3.0 yes
126 atompub_create_post action 2.8 DEPRECATED
127 atompub_put_post action 2.8 DEPRECATED
128 atom_author action 3.2 yes
129 atom_comments_ns action 2.8 yes
130 atom_entry action 2.0 yes
131 atom_head action 2.0 yes
132 atom_ns action 2.0 yes
133 attachment_submitbox_misc_actions action 3.5 yes
134 attachment_updated action 4.4 yes
135 auth_cookie_bad_hash action 2.7 yes
136 auth_cookie_bad_session_token action 4.0 yes
137 auth_cookie_bad_username action 2.7 yes
138 auth_cookie_expired action 2.7 yes
139 auth_cookie_malformed action 2.7 yes
140 auth_cookie_valid action 2.7 yes
141 auth_redirect action 2.8 yes
142 automatic_updates_complete action 3.8 yes
143 autosave_generate_nonces action 2.9 DEPRECATED
144 before_delete_post action 3.2 yes
145 before_signup_form action 3.0 yes
146 before_signup_header action 4.4 yes
147 before_wp_tiny_mce action 3.2 yes
148 begin_fetch_post_thumbnail_html action 2.9 yes
149 block_editor_meta_box_hidden_fields action 5.0 yes
150 blog_privacy_selector action 2.1 yes
151 bulk_edit_custom_box action 2.7 yes
152 change_locale action 4.7 yes
153 check_admin_referer action 1.5.2 yes
154 check_ajax_referer action 2.1 yes
155 check_comment_flood action 2.3 yes
156 check_passwords action 1.5.2 yes
157 clean_attachment_cache action 3.0 yes
158 clean_comment_cache action 4.5 yes
159 clean_network_cache action 4.6 yes
160 clean_object_term_cache action 2.5 yes
161 clean_page_cache action 2.5 yes
162 clean_post_cache action 2.5 yes
163 clean_site_cache action 4.6 yes
164 clean_taxonomy_cache action 4.9 yes
165 clean_term_cache action 2.5 yes
166 clean_user_cache action 4.4 yes
167 clear_auth_cookie action 2.7 yes
168 commentrss2_item action 2.1 yes
169 commentsrss2_head action 2.3 yes
170 comments_atom_head action 2.8 yes
171 comment_add_author_url action 3.4 yes
172 comment_atom_entry action 2.2 yes
173 comment_closed action 1.5.2 yes
174 comment_duplicate_trigger action 3.0 yes
175 comment_flood_trigger action 1.5.2 yes
176 comment_form action 1.5.2 yes
177 comment_form_after action 3.0 yes
178 comment_form_after_fields action 3.0 yes
179 comment_form_before action 3.0 yes
180 comment_form_before_fields action 3.0 yes
181 comment_form_comments_closed action 3.0 yes
182 comment_form_logged_in_after action 3.0 yes
183 comment_form_must_log_in_after action 3.0 yes
184 comment_form_top action 3.0 yes
185 comment_id_not_found action 1.5.2 yes
186 comment_loop_start action 2.2 yes
187 comment_on_draft action 1.5.2 yes
188 comment_on_password_protected action 3.0 yes
189 comment_on_trash action 2.9 yes
190 comment_post action 1.2.1 yes
191 comment_relatedlinks_list action 2.5 DEPRECATED
192 comment_remove_author_url action 3.4 yes
193 comment_{$new_status}_{$comment->comment_type} note action 2.7 yes
194 comment_{$old_status}_to_{$new_status} note action 2.7 yes
195 core_files_loaded action 1.5.2 DEPRECATED
196 core_upgrade_preamble action 2.9 yes
197 created_category action 2.2 Renamed in WP 2.3 (details)
198 created_term action 2.3 yes
199 created_{$taxonomy} note action 2.3 yes
200 create_category action 2.0 Renamed in WP 2.3 (details)
201 create_term action 2.3 yes
202 create_{$taxonomy} note action 2.3 yes
203 customize_controls_enqueue_scripts action 3.4 yes
204 customize_controls_head action 5.5 yes
205 customize_controls_init action 3.4 yes
206 customize_controls_print_footer_scripts action 3.4 yes
207 customize_controls_print_scripts action 3.4 yes
208 customize_controls_print_styles action 3.4 yes
209 customize_post_value_set action 4.4 yes
210 customize_post_value_set_{$setting_id} note action 4.4 yes
211 customize_preview_init action 3.4 yes
212 customize_preview_{$this->id} note action 3.4 yes
213 customize_preview_{$this->type} note action 4.1 yes
214 customize_register action 3.4 yes
215 customize_render_control action 3.4 yes
216 customize_render_control_{$this->id} note action 3.4 yes
217 customize_render_panel action 4.0 yes
218 customize_render_panel_{$this->id} note action 4.0 yes
219 customize_render_partials_after action 4.5 yes
220 customize_render_partials_before action 4.5 yes
221 customize_render_section action 3.4 yes
222 customize_render_section_{$this->id} note action 3.4 yes
223 customize_save action 3.4 yes
224 customize_save_after action 3.6 yes
225 customize_save_validation_before action 4.6 yes
226 customize_save_{$id_base} note action 4.8 yes
227 customize_save_{$this->id_data[base]} note action 3.4 DEPRECATED
228 customize_update_{$this->type} note action 3.4 yes
229 custom_header_options action 3.1 yes
230 dashmenu action 2.5 DEPRECATED
231 dbx_page_advanced action 2.0.11 DEPRECATED
232 dbx_page_sidebar action 2.0.11 DEPRECATED
233 dbx_post_advanced action 2.0.11 DEPRECATED
234 dbx_post_sidebar action 2.0.11 yes
235 deactivated_plugin action 2.9 yes
236 deactivate_blog action 3.0 yes
237 deactivate_plugin action 2.9 yes
238 deactivate_{$plugin} note action 2.0 yes
239 deleted_blog action 4.8 DEPRECATED
240 deleted_comment action 2.9 yes
241 deleted_commentmeta action 2.9 DEPRECATED
242 deleted_link action 2.2 yes
243 deleted_option action 2.9 yes
244 deleted_plugin action 4.4 yes
245 deleted_post action 2.2 yes
246 deleted_postmeta action 2.9 yes
247 deleted_site_transient action 3.0 yes
248 deleted_term_relationships action 2.9 yes
249 deleted_term_taxonomy action 2.9 yes
250 deleted_theme action 5.8 yes
251 deleted_transient action 3.0 yes
252 deleted_user action 2.8 yes
253 deleted_usermeta action 2.9 yes
254 deleted_{$meta_type}meta note action 3.4 yes
255 deleted_{$meta_type}_meta note action 2.9 yes
256 delete_attachment action 2.0 yes
257 delete_blog action 3.0 DEPRECATED
258 delete_category action 1.5.2 Renamed in WP 2.3 (details)
259 delete_comment action 1.2.1 yes
260 delete_commentmeta action 2.9 DEPRECATED
261 delete_link action 2.0 yes
262 delete_option action 2.9 yes
263 delete_option_{$option} note action 3.0 yes
264 delete_plugin action 4.4 yes
265 delete_post action 1.2.1 yes
266 delete_postmeta action 2.9 yes
267 delete_site_option action 3.0 yes
268 delete_site_option_{$key} note action 2.9 DEPRECATED
269 delete_site_option_{$option} note action 3.0 yes
270 delete_site_transient_{$transient} note action 3.0 yes
271 delete_term action 2.5 yes
272 delete_term_relationships action 2.9 yes
273 delete_term_taxonomy action 2.9 yes
274 delete_theme action 5.8 yes
275 delete_transient_{$transient} note action 3.0 yes
276 delete_user action 2.0 yes
277 delete_usermeta action 2.9 yes
278 delete_user_form action 4.0 yes
279 delete_widget action 4.4 yes
280 delete_{$meta_type}meta note action 3.4 yes
281 delete_{$meta_type}_meta note action 3.1 yes
282 delete_{$taxonomy} note action 2.3 yes
283 deprecated_argument_run action 3.0 yes
284 deprecated_constructor_run action 4.3 yes
285 deprecated_file_included action 2.5 yes
286 deprecated_function_run action 2.5 yes
287 deprecated_hook_run action 4.6 yes
288 doing_it_wrong_run action 3.1 yes
289 do_all_pings action 5.6 yes
290 do_favicon action 5.4 yes
291 do_faviconico action 5.4 yes
292 do_feed_{$feed} note action 4.4 yes
293 do_meta_boxes action 2.6 yes
294 do_robots action 2.1 yes
295 do_robotstxt action 2.1 yes
296 dynamic_sidebar action 3.0 yes
297 dynamic_sidebar_after action 3.9 yes
298 dynamic_sidebar_before action 3.9 yes
299 edited_category action 2.2 Renamed in WP 2.3 (details)
300 edited_term action 2.3 yes
301 edited_terms action 2.9 yes
302 edited_term_taxonomies action 2.9 yes
303 edited_term_taxonomy action 2.9 yes
304 edited_{$taxonomy} note action 2.3 yes
305 edit_attachment action 2.0 yes
306 edit_category action 2.0 Renamed in WP 2.3 (details)
307 edit_category_form action 2.1 DEPRECATED
308 edit_category_form_fields action 2.9 DEPRECATED
309 edit_category_form_pre action 2.1 DEPRECATED
310 edit_comment action 1.2.1 yes
311 edit_form_advanced action 1.5.2 yes
312 edit_form_after_editor action 3.5 yes
313 edit_form_after_title action 3.5 yes
314 edit_form_before_permalink action 4.1 yes
315 edit_form_top action 3.7 yes
316 edit_link action 2.0 yes
317 edit_link_category_form action 2.3 DEPRECATED
318 edit_link_category_form_fields action 2.9 DEPRECATED
319 edit_link_category_form_pre action 2.3 DEPRECATED
320 edit_page_form action 1.5.2 yes
321 edit_post action 1.2.1 yes
322 edit_post_{$post->post_type} note action 5.1 yes
323 edit_tag_form action 2.5 DEPRECATED
324 edit_tag_form_fields action 2.9 DEPRECATED
325 edit_tag_form_pre action 2.5 DEPRECATED
326 edit_term action 2.3 yes
327 edit_terms action 2.9 yes
328 edit_term_taxonomies action 2.9 yes
329 edit_term_taxonomy action 2.9 yes
330 edit_user_created_user action 4.4 yes
331 edit_user_profile action 2.0 yes
332 edit_user_profile_update action 2.7 yes
333 edit_{$taxonomy} note action 2.3 yes
334 embed_content action 4.4 yes
335 embed_content_meta action 4.4 yes
336 embed_footer action 4.4 yes
337 embed_head action 4.4 yes
338 end_fetch_post_thumbnail_html action 2.9 yes
339 enqueue_block_assets action 5.0 yes
340 enqueue_block_editor_assets action 5.0 yes
341 enqueue_embed_scripts action 4.4 yes
342 export_filters action 3.5 yes
343 export_wp action 2.3 yes
344 generate_recovery_mode_key action 5.2 yes
345 generate_rewrite_rules action 1.5.2 yes
346 get_footer action 2.1 yes
347 get_header action 2.1 yes
348 get_search_form action 2.7 yes
349 get_sidebar action 2.2 yes
350 get_template_part action 5.2 yes
351 get_template_part_{$slug} note action 3.0 yes
352 granted_super_admin action 3.0 yes
353 grant_super_admin action 3.0 yes
354 heartbeat_nopriv_tick action 3.6 yes
355 heartbeat_tick action 3.6 yes
356 http_api_curl action 2.8 yes
357 http_api_debug action 2.8 yes
358 http_transport_get_debug action 2.8 DEPRECATED
359 http_transport_post_debug action 2.8 DEPRECATED
360 import_done action 2.2 DEPRECATED
361 import_end action 2.5 DEPRECATED
362 import_post_added action 2.5 DEPRECATED
363 import_post_meta action 2.5 DEPRECATED
364 import_start action 2.5 DEPRECATED
365 init action 1.5.2 yes
366 install_plugins_pre_upload action 4.6 yes
367 install_plugins_pre_{$tab} note action 2.7 yes
368 install_plugins_table_header action 2.7 yes
369 install_plugins_upload action 4.6 yes
370 install_plugins_{$tab} note action 2.7 yes
371 install_themes_pre_{$tab} note action 2.8 yes
372 install_themes_table_header action 2.8 yes
373 install_themes_{$tab} note action 2.8 yes
374 invite_user action 4.4 yes
375 in_admin_footer action 2.5 yes
376 in_admin_header action 3.0 yes
377 in_plugin_update_message-{$file} note action 2.8 yes
378 in_theme_update_message-{$theme_key} note action 3.1 yes
379 in_widget_form action 2.8 yes
380 is_wp_error_instance action 5.6 yes
381 link_relatedlinks_list action 2.5 DEPRECATED
382 load-categories-php action 3.1 yes
383 load-edit-link-categories-php action 3.1 yes
384 load-edit-tags-php action 4.5 yes
385 load-importer-{$importer} note action 3.5 yes
386 load-page-new-php action 3.1 yes
387 load-page-php action 3.1 yes
388 load-widgets-php action 2.8 yes
389 load-{$pagenow} note action 2.1 yes
390 load-{$page_hook} note action 2.1 yes
391 load-{$plugin_page} note action 2.1 yes
392 load_feed_engine action 2.3 yes
393 load_textdomain action 2.9 yes
394 login_enqueue_scripts action 3.1 yes
395 login_footer action 3.1 yes
396 login_form action 2.1 yes
397 login_form_{$action} note action 2.8 yes
398 login_head action 2.1 yes
399 login_header action 4.6 yes
400 login_init action 3.2 yes
401 loop_end action 2.0 yes
402 loop_no_results action 4.9 yes
403 loop_start action 2.0 yes
404 lostpassword_form action 2.1 yes
405 lostpassword_post action 2.1 yes
406 lost_password action 1.5.2 yes
407 make_delete_blog action 3.5 yes
408 make_ham_blog action 3.0 yes
409 make_ham_user action 3.0 yes
410 make_spam_blog action 3.0 yes
411 make_spam_user action 3.0 yes
412 make_undelete_blog action 3.5 yes
413 manage_blogs_custom_column action 3.0 DEPRECATED
414 manage_comments_custom_column action 2.8 yes
415 manage_comments_nav action 2.5 yes
416 manage_link_custom_column action 2.1 yes
417 manage_media_custom_column action 2.5 yes
418 manage_media_media_column action 2.5 DEPRECATED
419 manage_pages_custom_column action 2.5 yes
420 manage_plugins_custom_column action 3.1 yes
421 manage_posts_custom_column action 1.5.2 yes
422 manage_posts_extra_tablenav action 4.4 yes
423 manage_sites_custom_column action 3.1 yes
424 manage_sites_extra_tablenav action 5.3 yes
425 manage_themes_custom_column action 3.1 yes
426 manage_users_extra_tablenav action 4.9 yes
427 manage_{$post->post_type}_posts_custom_column note action 3.1 yes
428 manage_{$this->screen->id}_custom_column note action 5.6 yes
429 manage_{$this->screen->id}_custom_column_js_template note action 5.6 yes
430 mature_blog action 3.1 yes
431 mce_options action 2.0 DEPRECATED
432 media_buttons action 2.5 yes
433 media_upload_{$tab} note action 2.5 yes
434 media_upload_{$type} note action 2.5 yes
435 metadata_lazyloader_queued_objects action 4.5 yes
436 ms_loaded action 4.6 yes
437 ms_network_not_found action 4.4 yes
438 ms_site_not_found action 3.9 yes
439 muplugins_loaded action 2.8 yes
440 mu_activity_box_end action 3.0 yes
441 mu_plugin_loaded action 5.1 yes
442 mu_rightnow_end action 3.0 yes
443 myblogs_allblogs_options action 3.0 yes
444 network_admin_edit_{$action} note action 3.1 yes
445 network_admin_menu action 3.1 yes
446 network_admin_notices action 3.1 yes
447 network_plugin_loaded action 5.1 yes
448 network_site_info_form action 5.6 yes
449 network_site_new_created_user action 4.4 yes
450 network_site_new_form action 4.5 yes
451 network_site_users_after_list_table action 3.1 yes
452 network_site_users_created_user action 4.4 yes
453 network_user_new_created_user action 4.4 yes
454 network_user_new_form action 4.5 yes
455 opml_head action 3.0 yes
456 page_attributes_meta_box_template action 4.4 yes
457 page_attributes_misc_attributes action 4.9 yes
458 page_relatedlinks_list action 2.5 DEPRECATED
459 parse_comment_query action 4.2 yes
460 parse_network_query action 4.6 yes
461 parse_query action 1.5.2 yes
462 parse_request action 2.1 yes
463 parse_site_query action 4.6 yes
464 parse_tax_query action 3.7 yes
465 parse_term_query action 4.6 yes
466 password_reset action 1.5.2 yes
467 permalink_structure_changed action 2.8 yes
468 personal_options action 2.7 yes
469 personal_options_update action 2.0 yes
470 phpmailer_init action 2.2 yes
471 pingback_post action 1.5.2 yes
472 plugins_loaded action 1.5.2 yes
473 plugin_loaded action 5.1 yes
474 populate_options action 2.6 yes
475 post-flash-upload-ui action 2.6 DEPRECATED
476 post-html-upload-ui action 2.6 yes
477 post-plupload-upload-ui action 3.3 yes
478 post-upload-ui action 2.6 yes
479 posts_selection action 2.3 yes
480 post_action_{$action} note action 4.6 yes
481 post_comment_status_meta_box-options action 3.1 yes
482 post_edit_form_tag action 3.0 yes
483 post_locked_dialog action 3.6 yes
484 post_lock_lost_dialog action 3.6 yes
485 post_relatedlinks_list action 2.5 DEPRECATED
486 post_stuck action 4.6 yes
487 post_submitbox_minor_actions action 4.4 yes
488 post_submitbox_misc_actions action 2.9 yes
489 post_submitbox_start action 2.7 yes
490 post_unstuck action 4.6 yes
491 post_updated action 3.0 yes
492 pre-flash-upload-ui action 2.6 DEPRECATED
493 pre-html-upload-ui action 2.6 yes
494 pre-plupload-upload-ui action 3.3 yes
495 pre-upload-ui action 2.6 yes
496 preprocess_signup_form action 3.0 yes
497 pre_auto_update action 4.4 yes
498 pre_comment_on_post action 2.8 yes
499 pre_current_active_plugins action 3.0 yes
500 pre_delete_site_option_{$option} note action 3.0 yes
501 pre_delete_term action 4.1 yes
502 pre_get_comments action 3.1 yes
503 pre_get_networks action 4.6 yes
504 pre_get_posts action 2.0 yes
505 pre_get_search_form action 3.6 yes
506 pre_get_sites action 4.6 yes
507 pre_get_terms action 4.6 yes
508 pre_get_users action 4.0 yes
509 pre_network_site_new_created_user action 4.5 yes
510 pre_ping action 2.0 yes
511 pre_post_update action 2.5 yes
512 pre_trackback_post action 4.7 yes
513 pre_uninstall_plugin action 4.5 yes
514 pre_user_query action 3.1 yes
515 pre_user_search action 3.0 yes
516 print_default_editor_scripts action 4.8 yes
517 print_media_templates action 3.5 yes
518 private_to_published action 1.5.2 DEPRECATED
519 profile_personal_options action 2.0 yes
520 profile_update action 2.0 yes
521 publish_page action 2.1 Renamed in WP 2.3 (details)
522 publish_phone action 1.2.1 yes
523 publish_post action 1.2.1 Renamed in WP 2.3 (details)
524 quick_edit_custom_box action 2.7 yes
525 rdf_header action 2.0 yes
526 rdf_item action 2.0 yes
527 rdf_ns action 2.0 yes
528 refresh_blog_details action 3.4 DEPRECATED
529 registered_post_type action 3.3 yes
530 registered_post_type_{$post_type} note action 6.0 yes
531 registered_taxonomy action 3.3 yes
532 registered_taxonomy_for_object_type action 5.1 yes
533 registered_taxonomy_{$taxonomy} note action 6.0 yes
534 register_form action 2.1 yes
535 register_new_user action 4.4 yes
536 register_post action 2.1 yes
537 register_setting action 5.5 yes
538 register_sidebar action 3.0 yes
539 remove_user_from_blog action 3.0 yes
540 remove_user_role action 4.3 yes
541 render_block_core_template_part_file action 5.9 yes
542 render_block_core_template_part_none action 5.9 yes
543 render_block_core_template_part_post action 5.9 yes
544 requests-{$hook} note action 4.7 yes
545 resetpass_form action 3.9 yes
546 restore_previous_locale action 4.7 yes
547 restrict_manage_comments action 3.5 yes
548 restrict_manage_posts action 2.1 yes
549 restrict_manage_sites action 5.3 yes
550 restrict_manage_users action 3.5 yes
551 rest_after_insert_application_password action 5.6 yes
552 rest_after_insert_attachment action 5.0 yes
553 rest_after_insert_comment action 5.0 yes
554 rest_after_insert_nav_menu_item action 5.9 yes
555 rest_after_insert_user action 5.0 yes
556 rest_after_insert_{$this->post_type} note action 5.0 yes
557 rest_after_insert_{$this->taxonomy} note action 5.0 yes
558 rest_after_save_widget action 5.8 yes
559 rest_api_init action 4.4 yes
560 rest_delete_comment action 4.7 yes
561 rest_delete_nav_menu_item action 5.9 yes
562 rest_delete_revision action 4.7 yes
563 rest_delete_user action 4.7 yes
564 rest_delete_widget action 5.8 yes
565 rest_delete_{$this->post_type} note action 4.7 yes
566 rest_delete_{$this->taxonomy} note action 4.7 yes
567 rest_insert_attachment action 4.7 yes
568 rest_insert_comment action 4.7 yes
569 rest_insert_nav_menu_item action 5.9 yes
570 rest_insert_user action 4.7 yes
571 rest_insert_{$this->post_type} note action 4.7 yes
572 rest_insert_{$this->taxonomy} note action 4.7 yes
573 rest_save_sidebar action 5.8 yes
574 retreive_password action 1.5.2 DEPRECATED
575 retrieve_password action 1.5.2 yes
576 retrieve_password_key action 2.5 yes
577 revoked_super_admin action 3.0 yes
578 revoke_super_admin action 3.0 yes
579 rightnow_end action 2.5 yes
580 right_now_content_table_end action 3.0 DEPRECATED
581 right_now_discussion_table_end action 3.0 DEPRECATED
582 right_now_table_end action 2.7 DEPRECATED
583 rss2_comments_ns action 2.8 yes
584 rss2_head action 2.0 yes
585 rss2_item action 2.0 yes
586 rss2_ns action 2.0 yes
587 rss_head action 2.0 yes
588 rss_item action 2.0 yes
589 rss_tag_pre action 4.0 yes
590 sanitize_comment_cookies action 2.0.11 yes
591 sanitize_title action 1.2.1 yes
592 saved_term action 5.5 yes
593 saved_{$taxonomy} note action 5.5 yes
594 save_post action 1.5.2 yes
595 save_post_{$post->post_type} note action 3.7 yes
596 send_headers action 2.1 yes
597 setted_site_transient action 3.0 yes
598 setted_transient action 3.0 yes
599 setup_theme action 2.6 yes
600 set_404 action 5.5 yes
601 set_auth_cookie action 2.5 yes
602 set_comment_cookies action 3.4 yes
603 set_current_user action 2.0.11 yes
604 set_logged_in_cookie action 2.6 yes
605 set_object_terms action 2.8 yes
606 set_site_transient_{$transient} note action 3.0 yes
607 set_transient_{$transient} note action 3.0 yes
608 set_user_role action 2.9 yes
609 show_user_profile action 2.0 yes
610 shutdown action 1.2.1 yes
611 sidebar_admin_page action 2.2 yes
612 sidebar_admin_setup action 2.2 yes
613 sidemenu action 2.5 DEPRECATED
614 signup_blogform action 3.0 yes
615 signup_extra_fields action 3.0 yes
616 signup_finished action 3.0 yes
617 signup_header action 3.0 yes
618 signup_hidden_fields action 3.0 yes
619 simple_edit_form action 1.5.2 DEPRECATED
620 site_health_tab_content action 5.8 yes
621 spammed_comment action 2.9 yes
622 spam_comment action 2.9 yes
623 split_shared_term action 4.2 yes
624 start_previewing_theme action 3.4 yes
625 stop_previewing_theme action 3.4 yes
626 submitcomment_box action 2.5 DEPRECATED
627 submitlink_box action 2.5 yes
628 submitpage_box action 2.5 yes
629 submitpost_box action 2.5 yes
630 switch_blog action 3.0 yes
631 switch_locale action 4.7 yes
632 switch_theme action 1.5.2 yes
633 template_redirect action 1.5.2 yes
634 the_post action 2.8 yes
635 the_widget action 3.0 yes
636 tinymce_before_init action 2.0 DEPRECATED
637 tiny_mce_preload_dialogs action 3.1 DEPRECATED
638 tool_box action 2.8 yes
639 trackback_post action 1.2.1 yes
640 transition_comment_status action 2.7 yes
641 transition_post_status action 2.3 yes
642 trashed_comment action 2.9 yes
643 trashed_post action 2.9 yes
644 trashed_post_comments action 2.9 yes
645 trash_comment action 2.9 yes
646 trash_post action 2.9 DEPRECATED
647 trash_post_comments action 2.9 yes
648 twentyeleven_credits action 3.2 DEPRECATED
649 twentyeleven_enqueue_color_scheme action 3.2 DEPRECATED
650 twentyfifteen_credits action 4.1 DEPRECATED
651 twentyfourteen_credits action 3.8 DEPRECATED
652 twentyfourteen_featured_posts_after action 3.8 DEPRECATED
653 twentyfourteen_featured_posts_before action 3.8 DEPRECATED
654 twentysixteen_credits action 4.4 DEPRECATED
655 twentyten_credits action 3.0 DEPRECATED
656 twentythirteen_credits action 3.6 DEPRECATED
657 twentytwelve_credits action 3.5 DEPRECATED
658 twentytwenty_end_of_post_meta_list action 5.3 yes
659 twentytwenty_start_of_post_meta_list action 5.3 yes
660 unarchive_blog action 3.0 yes
661 uninstall_{$file} note action 2.7 yes
662 unload_textdomain action 3.0 yes
663 unmature_blog action 3.1 yes
664 unregistered_post_type action 4.5 yes
665 unregistered_taxonomy action 4.5 yes
666 unregistered_taxonomy_for_object_type action 5.1 yes
667 unregister_setting action 5.5 yes
668 unspammed_comment action 2.9 yes
669 unspam_comment action 2.9 yes
670 untrashed_comment action 2.9 yes
671 untrashed_post action 2.9 yes
672 untrashed_post_comments action 2.9 yes
673 untrash_comment action 2.9 yes
674 untrash_post action 2.9 yes
675 untrash_post_comments action 2.9 yes
676 update-core-custom_{$action} note action 3.2 yes
677 update-custom_{$action} note action 2.8 yes
678 updated_option action 2.9 yes
679 updated_postmeta action 2.9 yes
680 updated_usermeta action 2.9 yes
681 updated_{$meta_type}_meta note action 2.9 yes
682 update_blog_public action 3.0 yes
683 update_option action 2.9 yes
684 update_option_{$option_name} note action 2.0.11 DEPRECATED
685 update_option_{$option} note action 3.0 yes
686 update_postmeta action 2.9 yes
687 update_site_option action 3.0 yes
688 update_site_option_{$key} note action 2.9 DEPRECATED
689 update_site_option_{$option} note action 3.0 yes
690 update_usermeta action 2.9 yes
691 update_wpmu_options action 3.0 yes
692 update_{$meta_type}_meta note action 2.9 yes
693 upgrader_overwrote_package action 5.5 yes
694 upgrader_process_complete action 3.6 yes
695 upload_files_{$tab} note action 2.1 DEPRECATED
696 upload_ui_over_quota action 3.5 yes
697 user_admin_menu action 3.1 yes
698 user_admin_notices action 3.1 yes
699 user_edit_form_tag action 3.0 yes
700 user_new_form action 3.7 yes
701 user_new_form_tag action 3.0 yes
702 user_profile_update_errors action 2.8 yes
703 user_register action 1.5.2 yes
704 user_request_action_confirmed action 5.0 yes
705 validate_password_reset action 3.5 yes
706 welcome_panel action 3.5 yes
707 widgets-php action 2.8 yes
708 widgets_admin_page action 3.0 yes
709 widgets_init action 2.2 yes
710 wp action 2.1 yes
711 wp-mail-php action 2.9 yes
712 wpmuadminedit action 3.0 yes
713 wpmuadminresult action 3.0 yes
714 wpmublogsaction action 3.0 yes
715 wpmueditblogaction action 3.0 yes
716 wpmu_activate_blog action 3.0 yes
717 wpmu_activate_user action 3.0 yes
718 wpmu_blog_updated action 3.0 yes
719 wpmu_delete_user action 3.0 yes
720 wpmu_new_blog action 3.0 DEPRECATED
721 wpmu_new_user action 3.0 yes
722 wpmu_options action 3.0 yes
723 wpmu_update_blog_options action 3.0 yes
724 wpmu_upgrade_page action 3.0 yes
725 wpmu_upgrade_site action 3.0 yes
726 wp_add_nav_menu_item action 4.4 yes
727 wp_after_admin_bar_render action 3.1 yes
728 wp_after_insert_post action 5.6 yes
729 wp_ajax_crop_image_pre_save action 4.3 yes
730 wp_ajax_nopriv_{$action} note action 2.8 yes
731 wp_ajax_{$action} note action 2.1 yes
732 wp_authenticate action 1.5.2 yes
733 wp_authenticate_application_password_errors action 5.6 yes
734 wp_authorize_application_password_form action 5.6 yes
735 wp_authorize_application_password_form_approved_no_js action 5.7 yes
736 wp_authorize_application_password_request_errors action 5.6 yes
737 wp_before_admin_bar_render action 3.1 yes
738 wp_blacklist_check action 1.5.2 DEPRECATED
739 wp_body_open action 5.2 yes
740 wp_check_comment_disallowed_list action 5.5 yes
741 wp_create_application_password action 5.6 yes
742 wp_create_application_password_form action 5.6 yes
743 wp_create_nav_menu action 3.0 yes
744 wp_creating_autosave action 4.1 yes
745 wp_dashboard_setup action 2.5 yes
746 wp_default_scripts action 2.6 yes
747 wp_default_styles action 2.6 yes
748 wp_delete_application_password action 5.6 yes
749 wp_delete_nav_menu action 3.0 yes
750 wp_delete_post_revision action 2.6 yes
751 wp_delete_site action 5.1 yes
752 wp_edit_form_attachment_display action 4.6 yes
753 wp_enqueue_code_editor action 4.9 yes
754 wp_enqueue_editor action 3.9 yes
755 wp_enqueue_media action 3.5 yes
756 wp_enqueue_scripts action 2.8 yes
757 wp_error_added action 5.6 yes
758 wp_feed_options action 3.0 yes
759 wp_footer action 1.5.2 yes
760 wp_head action 1.2.1 yes
761 wp_initialize_site action 5.1 yes
762 wp_insert_comment action 2.8 yes
763 wp_insert_post action 2.0 yes
764 wp_insert_site action 5.1 yes
765 wp_install action 3.9 yes
766 wp_loaded action 3.0 yes
767 wp_login action 1.5.2 yes
768 wp_login_failed action 2.5 yes
769 wp_logout action 1.5.2 yes
770 wp_mail_failed action 4.4 yes
771 wp_mail_succeeded action 5.9 yes
772 wp_maybe_auto_update action 3.9 yes
773 wp_media_attach_action action 5.5 yes
774 wp_meta action 1.5.2 yes
775 wp_nav_menu_item_custom_fields action 5.4 yes
776 wp_nav_menu_item_custom_fields_customize_template action 5.4 yes
777 wp_network_dashboard_setup action 3.1 yes
778 wp_playlist_scripts action 3.9 yes
779 wp_print_footer_scripts action 2.8 yes
780 wp_print_scripts action 2.1 yes
781 wp_print_styles action 2.6 yes
782 wp_privacy_personal_data_erased action 5.0 yes
783 wp_privacy_personal_data_export_file action 5.0 yes
784 wp_privacy_personal_data_export_file_created action 5.0 yes
785 wp_register_sidebar_widget action 3.0 yes
786 wp_restore_post_revision action 2.6 yes
787 wp_roles_init action 4.7 yes
788 wp_set_comment_status action 1.5.2 yes
789 wp_sitemaps_init action 5.5 yes
790 wp_tiny_mce_init action 3.9 yes
791 wp_trash_post action 3.3 yes
792 wp_uninitialize_site action 5.1 yes
793 wp_unregister_sidebar_widget action 3.0 yes
794 wp_update_application_password action 5.6 yes
795 wp_update_comment_count action 2.3 yes
796 wp_update_nav_menu action 3.0 yes
797 wp_update_nav_menu_item action 3.0 yes
798 wp_update_site action 5.1 yes
799 wp_upgrade action 3.9 yes
800 wp_user_dashboard_setup action 3.1 yes
801 wp_validate_site_data action 5.1 yes
802 wp_validate_site_deletion action 5.1 yes
803 wp_verify_nonce_failed action 4.4 yes
804 xmlrpc_call action 2.5 yes
805 xmlrpc_call_success_blogger_deletePost action 3.4 yes
806 xmlrpc_call_success_blogger_editPost action 3.4 yes
807 xmlrpc_call_success_blogger_newPost action 3.4 yes
808 xmlrpc_call_success_mw_editPost action 3.4 yes
809 xmlrpc_call_success_mw_newMediaObject action 3.4 yes
810 xmlrpc_call_success_mw_newPost action 3.4 yes
811 xmlrpc_call_success_wp_deleteCategory action 3.4 yes
812 xmlrpc_call_success_wp_deleteComment action 3.4 yes
813 xmlrpc_call_success_wp_deletePage action 3.4 yes
814 xmlrpc_call_success_wp_editComment action 3.4 yes
815 xmlrpc_call_success_wp_newCategory action 3.4 yes
816 xmlrpc_call_success_wp_newComment action 3.4 yes
817 xmlrpc_publish_post action 2.1 yes
818 xmlrpc_rsd_apis action 3.5 yes
819 _admin_menu action 2.2 yes
820 _core_updated_successfully action 3.3 yes
821 _network_admin_menu action 3.1 yes
822 _user_admin_menu action 3.1 yes
823 _wp_put_post_revision action 2.6 yes
824 {$action} note action 2.6 DEPRECATED
825 {$args} note action 4.7 yes
826 {$arg} note action 5.3 yes
827 {$hook_name} note action 5.8 yes
828 {$hook} note action 2.1 yes
829 {$new_status}_{$post->post_type} note action 2.3 yes
830 {$old_status}_to_{$new_status} note action 2.3 yes
831 {$page_hook} note action 1.5.2 yes
832 {$tag} note action 1.2.1 DEPRECATED
833 {$taxonomy}_add_form note action 3.0 yes
834 {$taxonomy}_add_form_fields note action 3.0 yes
835 {$taxonomy}_edit_form note action 3.0 yes
836 {$taxonomy}_edit_form_fields note action 3.0 yes
837 {$taxonomy}_pre_add_form note action 3.0 yes
838 {$taxonomy}_pre_edit_form note action 3.0 yes
839 {$taxonomy}_term_edit_form_tag note action 3.7 yes
840 {$taxonomy}_term_edit_form_top note action 4.5 yes
841 {$taxonomy}_term_new_form_tag note action 3.7 yes

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.