Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 3.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_print_scripts-widgets-php action YES 1
2 wp_insert_attachment_data filter YES 1
3 pre_set_theme_mod_{$name} note filter YES 1
4 dynamic_sidebar_has_widgets filter YES 1
5 is_active_sidebar filter YES 1
6 incompatible_sql_modes filter YES 1
7 resetpass_form action YES 1
8 wp_install action YES 1
9 wp_upgrade action YES 1
10 admin_print_styles-widgets-php action YES 1
11 determine_current_user filter YES 1
12 admin_footer-widgets-php action YES 1
13 wp_enqueue_editor action YES 1
14 wp_tiny_mce_init action YES 1
15 wp_playlist_scripts action YES 1
16 ms_site_not_found action YES 1
17 wp_maybe_auto_update action YES 1
18 dynamic_sidebar_before action YES 1
19 dynamic_sidebar_after action YES 1
20 theme_page_templates filter YES 1
21 install_themes_table_api_args_{$old_filter} note filter YES 1
22 attachment_thumbnail_args filter YES 1
23 akismet_view_arguments filter YES 1
24 customizer_widgets_section_args filter YES 1
25 is_wide_widget_in_customizer filter YES 1
26 widget_customizer_setting_args filter YES 1
27 option_{$option_name} note filter YES 1
28 wp_mce_translation filter YES 1
29 wp_header_image_attachment_metadata filter YES 1
30 post_playlist filter YES 1
31 wp_get_attachment_id3_keys filter YES 1
32 network_by_path_segments_count filter YES 1
33 pre_get_network_by_path filter YES 1
34 site_by_path_segments_count filter YES 1
35 pre_get_site_by_path filter YES 1
36 pre_wp_nav_menu filter YES 1
37 pre_update_option 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.