Welcome, visitor! Log in
 

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.

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