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