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