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