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