Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 2.6

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_action_{$action} note action YES 1
2 admin_head{$hook_suffix} note action YES 1
3 admin_print_scripts{$hook_suffix} note action YES 1
4 admin_print_styles action YES 1
5 admin_print_styles{$hook_suffix} note action YES 1
6 avatar_defaults filter YES 1
7 comments_per_page filter YES 1
8 comment_row_actions filter YES 1
9 default_avatar_select filter YES 1
10 do_meta_boxes action YES 1
11 editable_slug filter YES 1
12 filesystem_method filter YES 1
13 filesystem_method_file filter YES 1
14 get_archives_link filter YES 1
15 get_image_tag filter YES 1
16 get_image_tag_class filter YES 1
17 get_post_time filter YES 1
18 image_add_caption_shortcode filter YES 1
19 image_make_intermediate_size filter YES 1
20 img_caption_shortcode filter YES 1
21 media_upload_form_url filter YES 1
22 populate_options action YES 1
23 post-flash-upload-ui action YES 1
24 post-html-upload-ui action YES 1
25 post-upload-ui action YES 1
26 post_date_column_time filter YES 1
27 pre-flash-upload-ui action YES 1
28 pre-html-upload-ui action YES 1
29 pre-upload-ui action YES 1
30 pre_update_option_{$option_name} note filter YES 1
31 print_styles_array filter YES 1
32 setup_theme action YES 1
33 set_logged_in_cookie action YES 1
34 shortcut_link filter YES 1
35 style_loader_src filter YES 1
36 style_loader_tag filter YES 1
37 the_excerpt_export filter YES 1
38 upload_file_glob filter YES 1
39 widget_links_args filter YES 1
40 widget_title filter YES 1
41 wp_default_scripts action YES 1
42 wp_default_styles action YES 1
43 wp_delete_post_revision action YES 1
44 wp_print_styles action YES 1
45 wp_restore_post_revision action YES 1
46 xmlrpc_blog_options filter YES 1
47 _wp_post_revision_fields filter YES 1
48 _wp_post_revision_field_{$field} note filter YES 1
49 _wp_put_post_revision action YES 1
50 {$action} note action YES 1
51 {$adjacent}_post_link note 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.