Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 4.6

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_print_footer_scripts-press-this-php action YES 1
2 admin_print_footer_scripts-widgets-php action YES 1
3 admin_print_footer_scripts-{$hook_suffix} note action YES 1
4 auth_post_{$post_type}_meta_{$meta_key} note filter YES 1
5 clean_network_cache action YES 1
6 clean_site_cache action YES 1
7 customize_save_validation_before action YES 1
8 customize_validate_{$this->id} note filter YES 1
9 deprecated_hook_run action YES 1
10 deprecated_hook_trigger_error filter YES 1
11 disable_categories_dropdown filter YES 1
12 emoji_svg_ext filter YES 1
13 emoji_svg_url filter YES 1
14 enable_loading_advanced_cache_dropin filter YES 1
15 enable_maintenance_mode filter YES 1
16 enable_wp_debug_mode_checks filter YES 1
17 found_networks_query filter YES 1
18 found_sites_query filter YES 1
19 get_canonical_url filter YES 1
20 get_network filter YES 1
21 get_site filter YES 1
22 install_plugins_pre_upload action YES 1
23 install_plugins_upload action YES 1
24 login_header action YES 1
25 ms_loaded action YES 1
26 ms_sites_list_table_query_args filter YES 1
27 networks_clauses filter YES 1
28 network_edit_site_nav_links filter YES 1
29 parse_network_query action YES 1
30 parse_site_query action YES 1
31 parse_term_query action YES 1
32 posts_pre_query filter YES 1
33 post_action_{$action} note action YES 1
34 post_stuck action YES 1
35 post_unstuck action YES 1
36 pre_get_blogs_of_user filter YES 1
37 pre_get_networks action YES 1
38 pre_get_sites action YES 1
39 pre_get_terms action YES 1
40 pre_oembed_result filter YES 1
41 redirect_term_location filter YES 1
42 register_meta_args filter YES 1
43 sanitize_{$object_type}_meta_{$meta_key} note filter YES 1
44 sites_clauses filter YES 1
45 site_details filter YES 1
46 site_search_columns filter YES 1
47 the_networks filter YES 1
48 the_post_thumbnail_caption filter YES 1
49 the_sites filter YES 1
50 wp_edit_form_attachment_display action YES 1
51 wp_get_attachment_caption filter YES 1
52 wp_resource_hints filter YES 1
53 wxr_export_skip_termmeta filter YES 1
54 {$context}_memory_limit 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.