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