Welcome, visitor! Log in
 

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.

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