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