Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 3.2

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 login_init action YES 1
2 twentyeleven_theme_options_validate filter YES 1
3 twentyeleven_layout_classes filter YES 1
4 close_comments_for_post_types filter YES 1
5 sanitize_mime_type filter YES 1
6 image_memory_limit filter YES 1
7 is_protected_meta filter YES 1
8 sanitize_meta filter YES 1
9 found_users_query filter YES 1
10 use_google_chrome_frame filter YES 1
11 twentyeleven_default_theme_options filter YES 1
12 update-core-custom_{$action} note action YES 1
13 before_wp_tiny_mce action YES 1
14 after_wp_tiny_mce action YES 1
15 twentyeleven_credits action YES 1
16 twentyeleven_enqueue_color_scheme action YES 1
17 atom_author action YES 1
18 before_delete_post action YES 1
19 after_delete_post action YES 1
20 twentyeleven_author_bio_avatar_size filter YES 1
21 ms_user_row_actions filter YES 1
22 browse-happy-notice filter YES 1
23 nav_menu_items_{$post_type_name} note filter YES 1
24 postbox_classes_{$page}_{$id} note filter YES 1
25 wp_fullscreen_buttons filter YES 1
26 display_media_states filter YES 1
27 screen_options_show_screen filter YES 1
28 redirect_network_admin_request filter YES 1
29 redirect_user_admin_request filter YES 1
30 option_page_capability_{$option_page} note filter YES 1
31 category_archive_meta filter YES 1
32 twentyeleven_status_avatar filter YES 1
33 twentyeleven_header_image_width filter YES 1
34 twentyeleven_header_image_height filter YES 1
35 twentyeleven_attachment_size filter YES 1
36 tag_archive_meta filter YES 1
37 twentyeleven_color_schemes filter YES 1
38 twentyeleven_layouts 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.