Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 4.9

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 admin_referrer_policy filter YES 1
2 akismet_predefined_api_key filter YES 1
3 alloptions filter YES 1
4 available_permalink_structure_tags filter YES 1
5 can_add_user_to_blog filter YES 1
6 clean_taxonomy_cache action YES 1
7 core_version_check_query_args filter YES 1
8 customize_changeset_branching filter YES 1
9 customize_load_themes filter YES 1
10 embed_thumbnail_id filter YES 1
11 get_the_post_type_description filter YES 1
12 login_link_separator filter YES 1
13 login_title filter YES 1
14 loop_no_results action YES 1
15 manage_users_extra_tablenav action YES 1
16 network_admin_email_change_email filter YES 1
17 new_network_admin_email_content filter YES 1
18 page_attributes_misc_attributes action YES 1
19 plugin_files_exclusions filter YES 1
20 pre_cache_alloptions filter YES 1
21 pre_get_main_site_id filter YES 1
22 pre_move_uploaded_file filter YES 1
23 pre_term_link filter YES 1
24 pre_trash_post filter YES 1
25 pre_untrash_post filter YES 1
26 replace_editor filter YES 1
27 rest_pre_echo_response filter YES 1
28 self_admin_url filter YES 1
29 send_network_admin_email_change_email filter YES 1
30 send_site_admin_email_change_email filter YES 1
31 site_admin_email_change_email filter YES 1
32 username_exists filter YES 1
33 widget_custom_html_content filter YES 1
34 widget_{$this->id_base}_instance_schema note filter YES 1
35 wp_code_editor_settings filter YES 1
36 wp_enqueue_code_editor action YES 1
37 wp_get_nav_menu_name filter YES 1
38 wp_get_object_terms_args filter YES 1
39 wp_is_mobile filter YES 1
40 wp_new_user_notification_email filter YES 1
41 wp_new_user_notification_email_admin filter YES 1
42 wp_password_change_notification_email filter YES 1
43 wp_pre_insert_user_data filter YES 1
44 wp_read_video_metadata 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.