Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 5.2

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 category_list_link_attributes filter YES 1
2 comment_duplicate_message filter YES 1
3 comment_flood_message filter YES 1
4 debug_information filter YES 1
5 disable_formats_dropdown filter YES 1
6 generate_recovery_mode_key action YES 1
7 get_feed_build_date filter YES 1
8 get_template_part action YES 1
9 is_protected_endpoint filter YES 1
10 login_headertext filter YES 1
11 ms_user_list_site_class filter YES 1
12 networks_pre_query filter YES 1
13 oembed_iframe_title_attribute filter YES 1
14 populate_site_meta filter YES 1
15 postbox_classes_{$screen_id}_{$box_id} note filter YES 1
16 post_column_taxonomy_links filter YES 1
17 recovery_email_support_info filter YES 1
18 recovery_mode_begin_url filter YES 1
19 recovery_mode_cookie_length filter YES 1
20 recovery_mode_email filter YES 1
21 recovery_mode_email_link_ttl filter YES 1
22 recovery_mode_email_rate_limit filter YES 1
23 search_form_args filter YES 1
24 sites_pre_query filter YES 1
25 site_status_tests filter YES 1
26 site_status_test_php_modules filter YES 1
27 users_have_additional_content filter YES 1
28 wp_body_open action YES 1
29 wp_die_jsonp_handler filter YES 1
30 wp_die_xml_handler filter YES 1
31 wp_direct_php_update_url filter YES 1
32 wp_fatal_error_handler_enabled filter YES 1
33 wp_is_php_version_acceptable filter YES 1
34 wp_php_error_args filter YES 1
35 wp_php_error_message filter YES 1
36 wp_protected_ajax_actions filter YES 1
37 wp_should_handle_php_error filter YES 1
38 wp_signature_hosts filter YES 1
39 wp_signature_softfail filter YES 1
40 wp_signature_url filter YES 1
41 wp_trusted_keys 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.