Welcome, visitor! Log in
 

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.

  • To sort the table, click on a column title.
  • Click a hook name to see details about the hook.
  • Click a file name to see only hooks used in that file.
Hook Type New? Instances
1 admin_footer-widgets-php action YES 1
2 admin_print_scripts-widgets-php action YES 1
3 admin_print_styles-widgets-php action YES 1
4 akismet_view_arguments filter YES 1
5 attachment_thumbnail_args filter YES 1
6 customizer_widgets_section_args filter YES 1
7 determine_current_user filter YES 1
8 dynamic_sidebar_after action YES 1
9 dynamic_sidebar_before action YES 1
10 dynamic_sidebar_has_widgets filter YES 1
11 incompatible_sql_modes filter YES 1
12 install_themes_table_api_args_{$old_filter} note filter YES 1
13 is_active_sidebar filter YES 1
14 is_wide_widget_in_customizer filter YES 1
15 ms_site_not_found action YES 1
16 network_by_path_segments_count filter YES 1
17 option_{$option_name} note filter YES 1
18 post_playlist filter YES 1
19 pre_get_network_by_path filter YES 1
20 pre_get_site_by_path filter YES 1
21 pre_set_theme_mod_{$name} note filter YES 1
22 pre_update_option filter YES 1
23 pre_wp_nav_menu filter YES 1
24 resetpass_form action YES 1
25 site_by_path_segments_count filter YES 1
26 theme_page_templates filter YES 1
27 widget_customizer_setting_args filter YES 1
28 wp_enqueue_editor action YES 1
29 wp_get_attachment_id3_keys filter YES 1
30 wp_header_image_attachment_metadata filter YES 1
31 wp_insert_attachment_data filter YES 1
32 wp_install action YES 1
33 wp_maybe_auto_update action YES 1
34 wp_mce_translation filter YES 1
35 wp_playlist_scripts action YES 1
36 wp_tiny_mce_init action YES 1
37 wp_upgrade action 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.