Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 5.7

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 block_type_metadata filter YES 1
2 block_type_metadata_settings filter YES 1
3 login_site_html_link filter YES 1
4 lostpassword_user_data filter YES 1
5 paginate_links_output filter YES 1
6 pre_months_dropdown_query filter YES 1
7 pre_wp_mail filter YES 1
8 pre_wp_update_https_detection_errors filter YES 1
9 render_block_{$this->name} note filter YES 1
10 the_title_export filter YES 1
11 update_post_term_count_statuses filter YES 1
12 upgrader_install_package_result filter YES 1
13 wp_authorize_application_password_form_approved_no_js action YES 1
14 wp_direct_update_https_url filter YES 1
15 wp_iframe_tag_add_loading_attr filter YES 1
16 wp_image_src_get_dimensions filter YES 1
17 wp_inline_script_attributes filter YES 1
18 wp_is_site_protected_by_basic_auth filter YES 1
19 wp_list_table_show_post_checkbox filter YES 1
20 wp_robots filter YES 1
21 wp_script_attributes filter YES 1
22 wp_should_replace_insecure_home_url filter YES 1
23 wp_update_https_url filter YES 1
24 {$action}_overrides note 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.