Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 2.5

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_messages filter YES 1
2 atom_service_url filter YES 1
3 pre_remote_source filter YES 1
4 async_upload_{$type} note filter YES 1
5 comment_status_links filter YES 1
6 manage_pages_query filter YES 1
7 dashboard_count_sentence filter YES 1
8 media_upload_default_type filter YES 1
9 media_upload_default_tab filter YES 1
10 plugin_action_links filter YES 1
11 request_filesystem_credentials filter YES 1
12 import_post_meta_key filter YES 1
13 import_allow_create_users filter YES 1
14 import_allow_fetch_attachments filter YES 1
15 import_attachment_size_limit filter YES 1
16 dashboard_primary_link filter YES 1
17 wp_dashboard_widgets filter YES 1
18 wp_dashboard_widget_links_{$widget_id} note filter YES 1
19 the_content_export filter YES 1
20 intermediate_image_sizes filter YES 1
21 wp_read_image_metadata_types filter YES 1
22 wp_read_image_metadata filter YES 1
23 file_is_displayable_image filter YES 1
24 media_upload_tabs filter YES 1
25 image_send_to_editor filter YES 1
26 media_buttons_context filter YES 1
27 image_upload_iframe_src filter YES 1
28 video_upload_iframe_src filter YES 1
29 audio_upload_iframe_src filter YES 1
30 attachment_fields_to_save filter YES 1
31 media_send_to_editor filter YES 1
32 attachment_fields_to_edit filter YES 1
33 media_meta filter YES 1
34 flash_uploader filter YES 1
35 got_rewrite filter YES 1
36 post_stati filter YES 1
37 post_mime_types filter YES 1
38 wp_check_post_lock_window filter YES 1
39 link_cat_row filter YES 1
40 term_name filter YES 1
41 tag_rows filter YES 1
42 manage_media_columns filter YES 1
43 manage_pages_columns filter YES 1
44 upload_size_limit filter YES 1
45 update_feedback filter YES 1
46 wp_list_bookmarks filter YES 1
47 term_links-{$taxonomy} note filter YES 1
48 comments_open filter YES 1
49 pings_open filter YES 1
50 comments_popup_link_attributes filter YES 1
51 default_feed filter YES 1
52 htmledit_pre filter YES 1
53 tag_escape filter YES 1
54 wp_sprintf filter YES 1
55 wp_sprintf_l filter YES 1
56 ext2type filter YES 1
57 deprecated_function_trigger_error filter YES 1
58 deprecated_file_trigger_error filter YES 1
59 wp_default_editor filter YES 1
60 language_attributes filter YES 1
61 wp_generator_type filter YES 1
62 the_generator filter YES 1
63 get_the_generator_{$type} note filter YES 1
64 search_feed_link filter YES 1
65 get_{$adjacent}_post_join note filter YES 1
66 get_{$adjacent}_post_where note filter YES 1
67 get_{$adjacent}_post_sort note filter YES 1
68 get_pagenum_link filter YES 1
69 editor_max_image_size filter YES 1
70 image_downsize filter YES 1
71 jpeg_quality filter YES 1
72 post_gallery filter YES 1
73 gallery_style filter YES 1
74 wp_authenticate_user filter YES 1
75 auth_cookie filter YES 1
76 wp_redirect_status filter YES 1
77 nonce_life filter YES 1
78 salt filter YES 1
79 check_password filter YES 1
80 get_avatar filter YES 1
81 icon_dirs filter YES 1
82 posts_where_request filter YES 1
83 posts_groupby_request filter YES 1
84 posts_join_request filter YES 1
85 posts_orderby_request filter YES 1
86 posts_distinct_request filter YES 1
87 posts_fields_request filter YES 1
88 post_limits_request filter YES 1
89 visual_editor filter YES 1
90 tiny_mce_version filter YES 1
91 {$taxonomy}_{$field}_rss note filter YES 1
92 term_link filter YES 1
93 taxonomy_template filter YES 1
94 get_user_option_{$option} note filter YES 1
95 dynamic_sidebar_params filter YES 1
96 mce_spellchecker_languages filter YES 1
97 mce_external_plugins filter YES 1
98 mce_external_languages filter YES 1
99 mce_buttons_4 filter YES 1
100 tiny_mce_before_init filter YES 1
101 retrieve_password_key action YES 1
102 xmlrpc_call action YES 1
103 in_admin_footer action YES 1
104 admin_init action YES 1
105 manage_media_media_column action YES 1
106 manage_media_custom_column action YES 1
107 manage_comments_nav action YES 1
108 post_relatedlinks_list action YES 1
109 submitpost_box action YES 1
110 comment_relatedlinks_list action YES 1
111 submitcomment_box action YES 1
112 link_relatedlinks_list action YES 1
113 submitlink_box action YES 1
114 page_relatedlinks_list action YES 1
115 submitpage_box action YES 1
116 edit_tag_form_pre action YES 1
117 add_tag_form_pre action YES 1
118 edit_tag_form action YES 1
119 rightnow_end action YES 1
120 media_upload_{$type} note action YES 1
121 media_upload_{$tab} note action YES 1
122 dashmenu action YES 1
123 adminmenu action YES 1
124 sidemenu action YES 1
125 admin_page_access_denied action YES 1
126 import_post_added action YES 1
127 import_post_meta action YES 1
128 import_start action YES 1
129 import_end action YES 1
130 wp_dashboard_setup action YES 1
131 admin_head_{$content_func} note action YES 1
132 manage_pages_custom_column action YES 1
133 akismet_spam_caught action YES 1
134 akismet_tabs action YES 1
135 add_option_{$name} note action YES 1
136 deprecated_function_run action YES 1
137 deprecated_file_included action YES 1
138 media_buttons action YES 1
139 wp_login_failed action YES 1
140 set_auth_cookie action YES 1
141 pre_post_update action YES 1
142 clean_post_cache action YES 1
143 clean_page_cache action YES 1
144 delete_term action YES 1
145 clean_object_term_cache action YES 1
146 clean_term_cache 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.