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