Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 3.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.

Hook Type New? Instances
1 login_enqueue_scripts action YES 1
2 login_footer action YES 1
3 network_admin_notices action YES 1
4 user_admin_notices action YES 1
5 all_admin_notices action YES 1
6 load-page-new-php action YES 1
7 load-page-php action YES 1
8 load-categories-php action YES 1
9 load-edit-link-categories-php action YES 1
10 custom_header_options action YES 1
11 manage_sites_custom_column action YES 1
12 manage_themes_custom_column action YES 1
13 after_theme_row action YES 1
14 after_theme_row_{$theme_key} note action YES 1
15 manage_plugins_custom_column action YES 1
16 manage_{$post->post_type}_posts_custom_column note action YES 1
17 wp_network_dashboard_setup action YES 1
18 wp_user_dashboard_setup action YES 1
19 _network_admin_menu action YES 1
20 _user_admin_menu action YES 1
21 network_admin_menu action YES 1
22 user_admin_menu action YES 1
23 post_comment_status_meta_box-options action YES 1
24 tiny_mce_preload_dialogs action YES 1
25 in_theme_update_message-{$theme_key} note action YES 1
26 network_admin_edit_{$action} note action YES 1
27 network_site_users_after_list_table action YES 1
28 akismet_submit_nonspam_comment action YES 1
29 akismet_submit_spam_comment action YES 1
30 admin_bar_menu action YES 1
31 wp_before_admin_bar_render action YES 1
32 wp_after_admin_bar_render action YES 1
33 admin_bar_init action YES 1
34 add_admin_bar_menus action YES 1
35 pre_get_comments action YES 1
36 doing_it_wrong_run action YES 1
37 add_{$meta_type}_meta note action YES 1
38 delete_{$meta_type}_meta note action YES 1
39 mature_blog action YES 1
40 unmature_blog action YES 1
41 pre_user_query action YES 1
42 wp_xmlrpc_server_class filter YES 1
43 admin_title filter YES 1
44 force_filtered_html_on_import filter YES 1
45 enter_title_here filter YES 1
46 views_{$screen->id} note filter YES 1
47 bulk_actions-{$screen->id} note filter YES 1
48 manage_{$screen->id}_sortable_columns note filter YES 1
49 manage_sites_action_links filter YES 1
50 all_themes filter YES 1
51 theme_action_links_{$theme_key} note filter YES 1
52 theme_row_meta filter YES 1
53 ms_user_list_site_actions filter YES 1
54 {$prefix}plugin_action_links note filter YES 1
55 {$prefix}plugin_action_links_{$plugin_file} note filter YES 1
56 manage_{$screen->taxonomy}_custom_column note filter YES 1
57 wp_network_dashboard_widgets filter YES 1
58 wp_user_dashboard_widgets filter YES 1
59 load_image_to_edit_filesystempath filter YES 1
60 load_image_to_edit_attachmenturl filter YES 1
61 get_media_item_args filter YES 1
62 swfupload_post_params filter YES 1
63 swfupload_success_handler filter YES 1
64 media_upload_mime_type_links filter YES 1
65 can_edit_network filter YES 1
66 default_hidden_meta_boxes filter YES 1
67 show_network_site_users_add_existing_form filter YES 1
68 show_network_site_users_add_new_form filter YES 1
69 network_sites_updated_message_{$action} note filter YES 1
70 akismet_show_user_comments_approved filter YES 1
71 akismet_comment_nonce filter YES 1
72 akismet_optimize_table filter YES 1
73 twentyten_attachment_height filter YES 1
74 wp_admin_bar_class filter YES 1
75 show_admin_bar filter YES 1
76 get_the_categories filter YES 1
77 get_the_terms filter YES 1
78 comments_clauses filter YES 1
79 the_comments filter YES 1
80 wp_get_current_commenter filter YES 1
81 schedule_event filter YES 1
82 show_recent_comments_widget_style filter YES 1
83 esc_textarea filter YES 1
84 doing_it_wrong_trigger_error filter YES 1
85 post_type_archive_title filter YES 1
86 single_term_title filter YES 1
87 get_edit_term_link filter YES 1
88 edit_term_link filter YES 1
89 post_type_archive_link filter YES 1
90 post_type_archive_feed_link filter YES 1
91 user_admin_url filter YES 1
92 user_dashboard_url filter YES 1
93 edit_profile_url filter YES 1
94 use_default_gallery_style filter YES 1
95 add_{$meta_type}_metadata note filter YES 1
96 update_{$meta_type}_metadata note filter YES 1
97 delete_{$meta_type}_metadata note filter YES 1
98 get_{$meta_type}_metadata note filter YES 1
99 get_meta_sql filter YES 1
100 nav_menu_item_id filter YES 1
101 wp_nav_menu_objects filter YES 1
102 secure_auth_cookie filter YES 1
103 secure_logged_in_cookie filter YES 1
104 secure_auth_redirect filter YES 1
105 list_pages filter YES 1
106 wp_insert_post_parent filter YES 1
107 wp_unique_post_slug_is_bad_attachment_slug filter YES 1
108 wp_unique_post_slug_is_bad_hierarchical_slug filter YES 1
109 wp_unique_post_slug_is_bad_flat_slug filter YES 1
110 posts_clauses filter YES 1
111 posts_clauses_request filter YES 1
112 {$permastructname}_rewrite_rules note filter YES 1
113 post_format_rewrite_base filter YES 1
114 get_terms_args filter YES 1
115 terms_clauses filter YES 1
116 wp_update_term_parent filter YES 1
117 get_ancestors filter YES 1
118 secure_signon_cookie 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.