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