Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 6.1

Important! Some WordPress hooks get applied in multiple PHP files. If you are trying to figure out what a specific WordPress hook does, sort the table by "hook" and make sure you are looking in all the files where it occurs.

Hook Type New? Instances
1 ajax_term_search_results filter YES 1
2 akismet_display_cron_disabled_notice filter YES 1
3 block_core_navigation_render_inner_blocks filter YES 1
4 cron_reschedule_event_error action YES 1
5 cron_unschedule_event_error action YES 1
6 feed_links_extra_show_author_feed filter YES 1
7 feed_links_extra_show_category_feed filter YES 1
8 feed_links_extra_show_post_comments_feed filter YES 1
9 feed_links_extra_show_post_type_archive_feed filter YES 1
10 feed_links_extra_show_search_feed filter YES 1
11 feed_links_extra_show_tag_feed filter YES 1
12 feed_links_extra_show_tax_feed filter YES 1
13 get_header_image filter YES 1
14 lost_password_html_link filter YES 1
15 post_class_taxonomies filter YES 1
16 pre_option filter YES 1
17 pre_wp_list_authors_post_counts_query filter YES 1
18 query_loop_block_query_vars filter YES 1
19 rest_json_encode_options filter YES 1
20 site_status_available_object_cache_services filter YES 1
21 site_status_good_response_time_threshold filter YES 1
22 site_status_page_cache_supported_cache_headers filter YES 1
23 site_status_persistent_object_cache_notes filter YES 1
24 site_status_persistent_object_cache_thresholds filter YES 1
25 site_status_persistent_object_cache_url filter YES 1
26 site_status_should_suggest_persistent_object_cache filter YES 1
27 the_posts_pagination_args filter YES 1
28 update_themes_{$hostname} note filter YES 1
29 wp_after_load_template action YES 1
30 wp_allow_query_attachment_by_filename filter YES 1
31 wp_before_load_template action YES 1
32 wp_img_tag_add_decoding_attr filter YES 1
33 wp_list_authors_args filter YES 1
34 wp_list_table_class_name filter YES 1
35 wp_list_users_args filter YES 1
36 wp_preload_resources filter YES 1
37 wp_read_audio_metadata filter YES 1
38 wp_required_field_indicator filter YES 1
39 wp_required_field_message filter YES 1
40 wp_send_new_user_notification_to_admin filter YES 1
41 wp_send_new_user_notification_to_user filter YES 1
42 wp_theme_json_data_blocks filter YES 1
43 wp_theme_json_data_default filter YES 1
44 wp_theme_json_data_theme filter YES 1
45 wp_theme_json_data_user filter YES 1
46 wp_theme_json_get_style_nodes filter YES 1

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.