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