Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 4.5

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 customize_dynamic_partial_class filter YES 1
2 customize_render_partials_after action YES 1
3 customize_render_partials_before action YES 1
4 unregistered_taxonomy action YES 1
5 unregistered_post_type action YES 1
6 clean_comment_cache action YES 1
7 metadata_lazyloader_queued_objects action YES 1
8 network_user_new_form action YES 1
9 network_site_new_form action YES 1
10 pre_network_site_new_created_user action YES 1
11 pre_uninstall_plugin action YES 1
12 {$taxonomy}_term_edit_form_top note action YES 1
13 load-edit-tags-php action YES 1
14 rest_response_link_curies filter YES 1
15 rest_request_from_url filter YES 1
16 customize_render_partials_response filter YES 1
17 press_this_save_post filter YES 1
18 customize_dynamic_partial_args filter YES 1
19 customize_partial_render_{$partial->id} note filter YES 1
20 customize_partial_render filter YES 1
21 wp_calculate_image_srcset_meta filter YES 1
22 get_custom_logo filter YES 1
23 wp_unique_filename filter YES 1
24 pre_wp_update_comment_count_now filter YES 1
25 wp_get_comment_fields_max_lengths filter YES 1
26 comments_template_query_args filter YES 1
27 pre_handle_404 filter YES 1
28 site_allowed_themes filter YES 1
29 network_allowed_themes filter YES 1
30 image_strip_meta filter YES 1
31 customize_nav_menu_searched_items filter YES 1
32 customize_previewable_devices 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.