Welcome, visitor! Log in
 

List of all deprecated WordPress hooks

WordPress coders, theme authors, and plugin developers use the hooks listed below to change how WordPress behaves without needing to edit any PHP source files. Use this index to identify the WordPress hooks that you need.

Hook Type Appearance In 4.4?
1 active_plugins filter 2.9 DEPRECATED
2 added_postmeta action 2.9 DEPRECATED
3 add_category action 1.5.2 DEPRECATED
4 add_option_{$name} note action 2.5 DEPRECATED
5 add_site_option_{$key} note action 2.9 DEPRECATED
6 admin_head-{$page_hook} note action 2.1 DEPRECATED
7 admin_head-{$plugin_page} note action 2.1 DEPRECATED
8 admin_head{$hook_suffix} note action 2.6 DEPRECATED
9 admin_print_scripts-{$page_hook} note action 2.1 DEPRECATED
10 admin_print_scripts-{$plugin_page} note action 2.1 DEPRECATED
11 admin_print_scripts{$hook_suffix} note action 2.6 DEPRECATED
12 admin_print_styles{$hook_suffix} note action 2.6 DEPRECATED
13 admin_user_info_links filter 3.0 DEPRECATED
14 after_theme_row_{$theme_key} note action 3.1 DEPRECATED
15 akismet_tabs action 2.5 DEPRECATED
16 all_options filter 1.5.2 DEPRECATED
17 app_entry action 3.0 DEPRECATED
18 app_head action 3.0 DEPRECATED
19 app_ns action 3.0 DEPRECATED
20 app_publish_post action 2.2 DEPRECATED
21 atompub_create_post action 2.8 DEPRECATED
22 atompub_put_post action 2.8 DEPRECATED
23 atom_service_url filter 2.5 DEPRECATED
24 audio_send_to_editor_url filter 2.8 DEPRECATED
25 audio_upload_iframe_src filter 2.5 DEPRECATED
26 author_template filter 3.0 DEPRECATED
27 autosave_generate_nonces action 2.9 DEPRECATED
28 autosave_interval filter 2.1 DEPRECATED
29 blog_option_{$setting} note filter 3.0 DEPRECATED
30 bulk_actions-{$screen->id} note filter 3.1 DEPRECATED
31 category_archive_meta filter 3.2 DEPRECATED
32 category_rewrite_rules filter 1.5.2 DEPRECATED
33 category_save_pre filter 1.5.2 Renamed in WP 2.3 (details)
34 category_template filter 1.5.2 DEPRECATED
35 cat_id_filter filter 2.1 DEPRECATED
36 cat_row filter 2.3 DEPRECATED
37 cat_rows filter 2.1 DEPRECATED
38 cat_row_actions filter 2.8 DEPRECATED
39 codepress_supported_langs filter 2.8 DEPRECATED
40 comments_popup_template filter 1.5.2 DEPRECATED
41 comment_content_presave filter 1.5.2 DEPRECATED
42 comment_relatedlinks_list action 2.5 DEPRECATED
43 comment_status_pre filter 2.0 Renamed in WP 2.3 (details)
44 content_edit_pre filter 1.5.2 DEPRECATED
45 content_filtered_save_pre filter 2.0.11 Renamed in WP 2.3 (details)
46 core_files_loaded action 1.5.2 DEPRECATED
47 created_category action 2.2 Renamed in WP 2.3 (details)
48 create_category action 2.0 Renamed in WP 2.3 (details)
49 create_user_query filter 2.0 DEPRECATED
50 customize_value_{$this->id_data[base]} note filter 3.4 DEPRECATED
51 dashboard_count_sentence filter 2.5 DEPRECATED
52 dashboard_incoming_links_feed filter 2.3 DEPRECATED
53 dashboard_incoming_links_link filter 2.3 DEPRECATED
54 dashmenu action 2.5 DEPRECATED
55 dbx_page_advanced action 2.0.11 DEPRECATED
56 dbx_page_sidebar action 2.0.11 DEPRECATED
57 deleted_commentmeta action 2.9 DEPRECATED
58 delete_category action 1.5.2 Renamed in WP 2.3 (details)
59 delete_commentmeta action 2.9 DEPRECATED
60 delete_site_option_{$key} note action 2.9 DEPRECATED
61 edited_category action 2.2 Renamed in WP 2.3 (details)
62 edit_category action 2.0 Renamed in WP 2.3 (details)
63 edit_pages_per_page filter 2.9 DEPRECATED
64 edit_{$taxonomy}_per_page note filter 3.0 DEPRECATED
65 embed_polldaddy filter 2.9 DEPRECATED
66 excerpt_edit_pre filter 1.5.2 Renamed in WP 2.3 (details)
67 explain_nonce_{$action} note filter 2.8 DEPRECATED
68 explain_nonce_{$verb}-{$noun} note filter 2.1 DEPRECATED
69 favorite_actions filter 2.7 DEPRECATED
70 file_send_to_editor_url filter 2.8 DEPRECATED
71 flash_uploader filter 2.5 DEPRECATED
72 format_to_post filter 1.2.1 DEPRECATED
73 front_page_template filter 3.0 DEPRECATED
74 get_categories filter 2.1 DEPRECATED
75 get_category filter 2.0.11 Renamed in WP 2.3 (details)
76 get_nested_categories filter 2.3 DEPRECATED
77 get_next_post_join filter 2.1 Renamed in WP 2.5 (details)
78 get_next_post_sort filter 2.1 Renamed in WP 2.5 (details)
79 get_next_post_where filter 2.1 Renamed in WP 2.5 (details)
80 get_previous_post_join filter 2.1 Renamed in WP 2.5 (details)
81 get_previous_post_sort filter 2.1 Renamed in WP 2.5 (details)
82 get_previous_post_where filter 2.1 Renamed in WP 2.5 (details)
83 hierarchical_post_types filter 2.8 DEPRECATED
84 home_template filter 1.5.2 DEPRECATED
85 http_request_default_port filter 2.7 DEPRECATED
86 http_request_port filter 2.7 DEPRECATED
87 http_transport_get_debug action 2.8 DEPRECATED
88 http_transport_post_debug action 2.8 DEPRECATED
89 image_upload_iframe_src filter 2.5 DEPRECATED
90 import_allow_create_users filter 2.5 DEPRECATED
91 import_allow_fetch_attachments filter 2.5 DEPRECATED
92 import_attachment_size_limit filter 2.5 DEPRECATED
93 import_done action 2.2 DEPRECATED
94 import_end action 2.5 DEPRECATED
95 import_post_added action 2.5 DEPRECATED
96 import_post_meta action 2.5 DEPRECATED
97 import_post_meta_key filter 2.5 DEPRECATED
98 import_start action 2.5 DEPRECATED
99 install_feedback filter 2.7 DEPRECATED
100 kubrick_header_color filter 2.0 DEPRECATED
101 kubrick_header_display filter 2.0 DEPRECATED
102 kubrick_header_image filter 2.0 DEPRECATED
103 link_cat_row filter 2.5 DEPRECATED
104 link_cat_row_actions filter 2.8 DEPRECATED
105 link_description filter 2.2 Renamed in WP 2.3 (details)
106 link_rating filter 1.5.2 Renamed in WP 2.3 (details)
107 link_relatedlinks_list action 2.5 DEPRECATED
108 list_cats_exclusions filter 1.5.2 DEPRECATED
109 manage_blogs_custom_column action 3.0 DEPRECATED
110 manage_categories_custom_column filter 2.8 DEPRECATED
111 manage_link_categories_custom_column filter 2.8 DEPRECATED
112 manage_link_columns filter 2.1 DEPRECATED
113 manage_media_media_column action 2.5 DEPRECATED
114 manage_pages_query filter 2.5 DEPRECATED
115 manage_{$page}_columns note filter 2.7 DEPRECATED
116 manage_{$screen->id}_sortable_columns note filter 3.1 DEPRECATED
117 manage_{$screen->taxonomy}_custom_column note filter 3.1 DEPRECATED
118 manage_{$taxonomy}_custom_column note filter 2.8 DEPRECATED
119 mce_browsers filter 2.0 DEPRECATED
120 mce_options action 2.0 DEPRECATED
121 mce_plugins filter 2.0 DEPRECATED
122 mce_spellchecker_languages filter 2.5 DEPRECATED
123 mce_theme filter 2.0 DEPRECATED
124 mce_valid_elements filter 2.0 DEPRECATED
125 ms_sites_per_page filter 3.0 DEPRECATED
126 ms_users_per_page filter 3.0 DEPRECATED
127 nag_posts_limit filter 2.3 DEPRECATED
128 name_save_pre filter 1.5.2 Renamed in WP 2.3 (details)
129 network_sites_updated_message_{$action} note filter 3.1 DEPRECATED
130 option_{$setting} note filter 1.5.2 DEPRECATED
131 page_relatedlinks_list action 2.5 DEPRECATED
132 page_stati filter 2.8 DEPRECATED
133 page_template filter 1.5.2 DEPRECATED
134 password_reset_message filter 2.8 DEPRECATED
135 password_reset_title filter 2.8 DEPRECATED
136 ping_status_pre filter 2.0 Renamed in WP 2.3 (details)
137 plugins_per_page filter 2.8 DEPRECATED
138 post-flash-upload-ui action 2.6 DEPRECATED
139 post_comment_text filter 1.2.1 DEPRECATED
140 post_mime_type_pre filter 2.0 Renamed in WP 2.3 (details)
141 post_relatedlinks_list action 2.5 DEPRECATED
142 post_stati filter 2.5 DEPRECATED
143 pre-flash-upload-ui action 2.6 DEPRECATED
144 preview_page_link filter 2.1 DEPRECATED
145 pre_add_site_option_{$key} note filter 2.9 DEPRECATED
146 pre_category_description filter 2.0.11 Renamed in WP 2.3 (details)
147 pre_category_name filter 2.0.11 Renamed in WP 2.3 (details)
148 pre_comment_user_domain filter 1.5.2 DEPRECATED
149 pre_link_description filter 2.0.11 Renamed in WP 2.3 (details)
150 pre_link_image filter 2.0.11 Renamed in WP 2.3 (details)
151 pre_link_name filter 2.0.11 Renamed in WP 2.3 (details)
152 pre_link_notes filter 2.0.11 Renamed in WP 2.3 (details)
153 pre_link_rel filter 2.0.11 Renamed in WP 2.3 (details)
154 pre_link_rss filter 2.0.11 Renamed in WP 2.3 (details)
155 pre_link_target filter 2.0.11 Renamed in WP 2.3 (details)
156 pre_link_url filter 2.0.11 Renamed in WP 2.3 (details)
157 pre_option_{$option->option_name} note filter 1.5.2 DEPRECATED
158 pre_option_{$setting} note filter 2.2 DEPRECATED
159 pre_site_option_{$key} note filter 2.9 DEPRECATED
160 pre_update_option_{$option_name} note filter 2.6 DEPRECATED
161 pre_update_site_option_{$key} note filter 2.9 DEPRECATED
162 publish_page action 2.1 Renamed in WP 2.3 (details)
163 publish_post action 1.2.1 Renamed in WP 2.3 (details)
164 redirect_page_location filter 2.9 DEPRECATED
165 right_now_content_table_end action 3.0 DEPRECATED
166 right_now_discussion_table_end action 3.0 DEPRECATED
167 right_now_table_end action 2.7 DEPRECATED
168 sanitize_meta filter 3.2 DEPRECATED
169 screen_meta_screen filter 2.7 DEPRECATED
170 show_adduser_fields filter 3.0 DEPRECATED
171 sidemenu action 2.5 DEPRECATED
172 simple_edit_form action 1.5.2 DEPRECATED
173 single_template filter 3.0 DEPRECATED
174 site_option_{$key} note filter 2.9 DEPRECATED
175 status_save_pre filter 1.5.2 Renamed in WP 2.3 (details)
176 submitcomment_box action 2.5 DEPRECATED
177 swfupload_post_params filter 3.1 DEPRECATED
178 swfupload_success_handler filter 3.1 DEPRECATED
179 tags_to_edit filter 2.3 DEPRECATED
180 tag_archive_meta filter 3.2 DEPRECATED
181 tag_rows filter 2.5 DEPRECATED
182 tag_template filter 2.3 DEPRECATED
183 taxonomy_template filter 2.5 DEPRECATED
184 theme_action_links_{$theme_key} note filter 3.1 DEPRECATED
185 theme_install_action_links filter 2.8 DEPRECATED
186 the_author_email filter 1.5.2 DEPRECATED
187 thumbnail_filename filter 2.0 DEPRECATED
188 timezone_support filter 2.8 DEPRECATED
189 tinymce_before_init action 2.0 DEPRECATED
190 tiny_mce_config_url filter 2.1 DEPRECATED
191 tiny_mce_preload_dialogs action 3.1 DEPRECATED
192 tiny_mce_version filter 2.5 DEPRECATED
193 title_edit_pre filter 1.5.2 Renamed in WP 2.3 (details)
194 trash_post action 2.9 DEPRECATED
195 twentyeleven_attachment_size filter 3.2 DEPRECATED
196 twentyeleven_author_bio_avatar_size filter 3.2 DEPRECATED
197 twentyeleven_color_schemes filter 3.2 DEPRECATED
198 twentyeleven_credits action 3.2 DEPRECATED
199 twentyeleven_default_theme_options filter 3.2 DEPRECATED
200 twentyeleven_enqueue_color_scheme action 3.2 DEPRECATED
201 twentyeleven_header_image_height filter 3.2 DEPRECATED
202 twentyeleven_header_image_width filter 3.2 DEPRECATED
203 twentyeleven_layouts filter 3.2 DEPRECATED
204 twentyeleven_layout_classes filter 3.2 DEPRECATED
205 twentyeleven_status_avatar filter 3.2 DEPRECATED
206 twentyeleven_theme_options_validate filter 3.2 DEPRECATED
207 twentyten_attachment_height filter 3.1 DEPRECATED
208 twentyten_attachment_size filter 3.0 DEPRECATED
209 twentyten_author_bio_avatar_size filter 3.0 DEPRECATED
210 twentyten_credits action 3.0 DEPRECATED
211 twentyten_header_image_height filter 3.0 DEPRECATED
212 twentyten_header_image_width filter 3.0 DEPRECATED
213 twentythirteen_attachment_size filter 3.6 DEPRECATED
214 twentythirteen_author_bio_avatar_size filter 3.6 DEPRECATED
215 twentythirteen_credits action 3.6 DEPRECATED
216 twentytwelve_attachment_size filter 3.5 DEPRECATED
217 twentytwelve_author_bio_avatar_size filter 3.5 DEPRECATED
218 twentytwelve_credits action 3.5 DEPRECATED
219 twentytwelve_status_avatar filter 3.5 DEPRECATED
220 update_option_{$option_name} note action 2.0.11 DEPRECATED
221 update_site_option_{$key} note action 2.9 DEPRECATED
222 update_user_query filter 2.0 DEPRECATED
223 uploading_iframe_src filter 2.0 DEPRECATED
224 upload_files_{$tab} note action 2.1 DEPRECATED
225 upload_file_glob filter 2.6 DEPRECATED
226 user_aim_label filter 2.8 DEPRECATED
227 user_jabber_label filter 2.8 DEPRECATED
228 user_yim_label filter 2.8 DEPRECATED
229 use_fopen_transport filter 2.7 DEPRECATED
230 use_fsockopen_transport filter 2.7 DEPRECATED
231 use_http_extension_transport filter 2.7 DEPRECATED
232 video_send_to_editor_url filter 2.8 DEPRECATED
233 video_upload_iframe_src filter 2.5 DEPRECATED
234 views_{$screen->id} note filter 3.1 DEPRECATED
235 visual_editor filter 2.5 DEPRECATED
236 wp_atom_server_class filter 3.4 DEPRECATED
237 wp_audio_shortcode_handler filter 3.6 DEPRECATED
238 wp_dashboard_widget_links_{$widget_id} note filter 2.5 DEPRECATED
239 wp_die_app_handler filter 3.4 DEPRECATED
240 wp_fullscreen_buttons filter 3.2 DEPRECATED
241 wp_handle_upload_prefilter filter 2.9 DEPRECATED
242 wp_thumbnail_creation_size_limit filter 2.1 DEPRECATED
243 wp_thumbnail_max_side_length filter 2.1 DEPRECATED
244 wp_upload_resize filter 3.3 DEPRECATED
245 wp_upload_tabs filter 2.1 DEPRECATED
246 wp_video_shortcode_handler filter 3.6 DEPRECATED
247 {$action} note action 2.6 DEPRECATED
248 {$callback} note filter 2.8 DEPRECATED
249 {$per_page} note filter 3.0 DEPRECATED
250 {$prefix}plugin_action_links note filter 3.1 DEPRECATED
251 {$prefix}plugin_action_links_{$plugin_file} note filter 3.1 DEPRECATED
252 {$taxonomy}_{$field_rss} note filter 2.3 Renamed in WP 2.5 (details)

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.