Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 4.1

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 default_page_template_title filter YES 1
2 image_add_caption_text filter YES 1
3 revision_text_diff_options filter YES 1
4 wp_get_revision_ui_diff filter YES 1
5 akismet_delete_comment_limit filter YES 1
6 akismet_delete_comment_interval filter YES 1
7 akismet_debug_log filter YES 1
8 twentyfifteen_author_bio_avatar_size filter YES 1
9 twentyfifteen_custom_background_args filter YES 1
10 twentyfifteen_attachment_size filter YES 1
11 twentyfifteen_custom_header_args filter YES 1
12 twentyfifteen_color_schemes filter YES 1
13 customize_panel_active filter YES 1
14 customize_section_active filter YES 1
15 script_loader_tag filter YES 1
16 comment_reply_link_args filter YES 1
17 get_the_archive_title filter YES 1
18 get_the_archive_description filter YES 1
19 wp_constrain_dimensions filter YES 1
20 meta_query_find_compatible_table_alias filter YES 1
21 wp_save_post_revision_post_has_changed filter YES 1
22 password_hint filter YES 1
23 process_text_diff_html filter YES 1
24 edit_form_before_permalink action YES 1
25 wp_creating_autosave action YES 1
26 twentyfifteen_credits action YES 1
27 customize_preview_{$this->type} note action YES 1
28 pre_delete_term 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.