Welcome, visitor! Log in
 

List of all WordPress action hooks

Hook Type Appearance In 2.9?
1 activated_plugin action 2.9 yes
2 activate_plugin action 2.9 yes
3 activate_trim({$plugin} note action 2.9 yes
4 activate_trim({$_GET[plugin]} note action 2.0 Renamed in WP 2.1 (details)
5 activate_{$plugin} note action 2.1 yes
6 activity_box_end action 2.0 yes
7 added_option action 2.9 yes
8 added_postmeta action 2.9 yes
9 added_term_relationship action 2.9 yes
10 added_usermeta action 2.9 yes
11 added_{$meta_type}_meta note action 2.9 yes
12 add_attachment action 2.0 yes
13 add_category action 1.5.2 DEPRECATED
14 add_category_form_pre action 2.1 yes
15 add_link action 2.0 yes
16 add_link_category_form_pre action 2.3 yes
17 add_option action 2.9 yes
18 add_option_{$name} note action 2.5 yes
19 add_site_option_{$key} note action 2.9 yes
20 add_tag_form action 2.7 yes
21 add_tag_form_pre action 2.5 yes
22 add_term_relationship action 2.9 yes
23 adminmenu action 2.5 yes
24 admin_action_{$_REQUEST[action]} note action 2.6 yes
25 admin_enqueue_scripts action 2.8 yes
26 admin_footer action 1.2.1 yes
27 admin_footer-{$hook_suffix} note action 2.8 yes
28 admin_head action 1.2.1 yes
29 admin_head-media-upload-popup action 2.9 yes
30 admin_head-{$hook_suffix} note action 2.7 yes
31 admin_head-{$page_hook} note action 2.1 DEPRECATED
32 admin_head-{$plugin_page} note action 2.1 DEPRECATED
33 admin_head_{$content_func} note action 2.5 yes
34 admin_head{$hook_suffix} note action 2.6 DEPRECATED
35 admin_init action 2.5 yes
36 admin_menu action 1.5 yes
37 admin_notices action 2.0.11 yes
38 admin_page_access_denied action 2.5 yes
39 admin_print_footer_scripts action 2.8 yes
40 admin_print_scripts action 2.1 yes
41 admin_print_scripts-media-upload-popup action 2.9 yes
42 admin_print_scripts-{$hook_suffix} note action 2.7 yes
43 admin_print_scripts-{$page_hook} note action 2.1 DEPRECATED
44 admin_print_scripts-{$plugin_page} note action 2.1 DEPRECATED
45 admin_print_scripts{$hook_suffix} note action 2.6 DEPRECATED
46 admin_print_styles action 2.6 yes
47 admin_print_styles-media-upload-popup action 2.9 yes
48 admin_print_styles-{$hook_suffix} note action 2.7 yes
49 admin_print_styles{$hook_suffix} note action 2.6 DEPRECATED
50 admin_xml_ns action 2.2 yes
51 after_db_upgrade action 2.8 yes
52 after_plugin_row action 2.3 yes
53 after_plugin_row_{$plugin_file} note action 2.7 yes
54 akismet_spam_caught action 2.5 yes
55 akismet_tabs action 2.5 yes
56 app_publish_post action 2.2 yes
57 atompub_create_post action 2.8 yes
58 atompub_put_post action 2.8 yes
59 atom_comments_ns action 2.8 yes
60 atom_entry action 2.0 yes
61 atom_head action 2.0 yes
62 atom_ns action 2.0 yes
63 auth_cookie_bad_hash action 2.7 yes
64 auth_cookie_bad_username action 2.7 yes
65 auth_cookie_expired action 2.7 yes
66 auth_cookie_malformed action 2.7 yes
67 auth_cookie_valid action 2.7 yes
68 auth_redirect action 2.8 yes
69 autosave_generate_nonces action 2.9 yes
70 begin_fetch_post_thumbnail_html action 2.9 yes
71 blog_privacy_selector action 2.1 yes
72 check_admin_referer action 1.5.2 yes
73 check_ajax_referer action 2.1 yes
74 check_comment_flood action 2.3 yes
75 check_passwords action 1.5.2 yes
76 clean_object_term_cache action 2.5 yes
77 clean_page_cache action 2.5 yes
78 clean_post_cache action 2.5 yes
79 clean_term_cache action 2.5 yes
80 clear_auth_cookie action 2.7 yes
81 commentrss2_item action 2.1 yes
82 commentsrss2_head action 2.3 yes
83 comments_atom_head action 2.8 yes
84 comment_atom_entry action 2.2 yes
85 comment_closed action 1.5 yes
86 comment_flood_trigger action 1.5 yes
87 comment_form action 1.5 yes
88 comment_id_not_found action 1.5 yes
89 comment_loop_start action 2.2 yes
90 comment_on_draft action 1.5.2 yes
91 comment_on_trash action 2.9 yes
92 comment_post action 1.2.1 yes
93 comment_relatedlinks_list action 2.5 DEPRECATED
94 comment_{$new_status}_{$comment->comment_type} note action 2.7 yes
95 comment_{$old_status}_to_{$new_status} note action 2.7 yes
96 core_files_loaded action 1.5 DEPRECATED
97 core_upgrade_preamble action 2.9 yes
98 created_category action 2.2 Renamed in WP 2.3 (details)
99 created_term action 2.3 yes
100 created_{$taxonomy} note action 2.3 yes
101 create_category action 2.0 Renamed in WP 2.3 (details)
102 create_term action 2.3 yes
103 create_{$taxonomy} note action 2.3 yes
104 dashmenu action 2.5 DEPRECATED
105 dbx_page_advanced action 2.0.11 DEPRECATED
106 dbx_page_sidebar action 2.0.11 DEPRECATED
107 dbx_post_advanced action 2.0.11 yes
108 dbx_post_sidebar action 2.0.11 yes
109 deactivated_plugin action 2.9 yes
110 deactivate_plugin action 2.9 yes
111 deactivate_trim({$plugin} note action 2.5 yes
112 deactivate_trim({$_GET[plugin]} note action 2.0 Renamed in WP 2.1 (details)
113 deactivate_{$plugin} note action 2.2 DEPRECATED
114 deleted_comment action 2.9 yes
115 deleted_commentmeta action 2.9 yes
116 deleted_link action 2.2 yes
117 deleted_option action 2.9 yes
118 deleted_post action 2.2 yes
119 deleted_postmeta action 2.9 yes
120 deleted_term_relationships action 2.9 yes
121 deleted_term_taxonomy action 2.9 yes
122 deleted_user action 2.8 yes
123 deleted_usermeta action 2.9 yes
124 deleted_{$meta_type}_meta note action 2.9 yes
125 delete_attachment action 2.0 yes
126 delete_category action 1.5.2 Renamed in WP 2.3 (details)
127 delete_comment action 1.2.1 yes
128 delete_commentmeta action 2.9 yes
129 delete_link action 2.0 yes
130 delete_option action 2.9 yes
131 delete_post action 1.2.1 yes
132 delete_postmeta action 2.9 yes
133 delete_site_option_{$key} note action 2.9 yes
134 delete_term action 2.5 yes
135 delete_term_relationships action 2.9 yes
136 delete_term_taxonomy action 2.9 yes
137 delete_user action 2.0 yes
138 delete_usermeta action 2.9 yes
139 delete_{$taxonomy} note action 2.3 yes
140 deprecated_file_included action 2.5 yes
141 deprecated_function_run action 2.5 yes
142 do_meta_boxes action 2.6 yes
143 do_robots action 2.1 yes
144 do_robotstxt action 2.1 yes
145 edited_category action 2.2 Renamed in WP 2.3 (details)
146 edited_term action 2.3 yes
147 edited_terms action 2.9 yes
148 edited_term_taxonomies action 2.9 yes
149 edited_term_taxonomy action 2.9 yes
150 edited_{$taxonomy} note action 2.3 yes
151 edit_attachment action 2.0 yes
152 edit_category action 2.0 Renamed in WP 2.3 (details)
153 edit_category_form action 2.1 yes
154 edit_category_form_fields action 2.9 yes
155 edit_category_form_pre action 2.1 yes
156 edit_comment action 1.2.1 yes
157 edit_form_advanced action 1.5 yes
158 edit_link action 2.0 yes
159 edit_link_category_form action 2.3 yes
160 edit_link_category_form_fields action 2.9 yes
161 edit_link_category_form_pre action 2.3 yes
162 edit_page_form action 1.5 yes
163 edit_post action 1.2.1 yes
164 edit_tag_form action 2.5 yes
165 edit_tag_form_fields action 2.9 yes
166 edit_tag_form_pre action 2.5 yes
167 edit_term action 2.3 yes
168 edit_terms action 2.9 yes
169 edit_term_taxonomies action 2.9 yes
170 edit_term_taxonomy action 2.9 yes
171 edit_user_profile action 2.0 yes
172 edit_user_profile_update action 2.7 yes
173 edit_{$taxonomy} note action 2.3 yes
174 end_fetch_post_thumbnail_html action 2.9 yes
175 export_wp action 2.3 yes
176 generate_rewrite_rules action 1.5 yes
177 get_footer action 2.1 yes
178 get_header action 2.1 yes
179 get_search_form action 2.7 yes
180 get_sidebar action 2.2 yes
181 http_api_curl action 2.8 yes
182 http_api_debug action 2.8 yes
183 http_transport_get_debug action 2.8 yes
184 http_transport_post_debug action 2.8 yes
185 import_done action 2.2 yes
186 import_end action 2.5 yes
187 import_post_added action 2.5 yes
188 import_post_meta action 2.5 yes
189 import_start action 2.5 yes
190 init action 1.5 yes
191 install_plugins_pre_{$tab} note action 2.7 yes
192 install_plugins_table_header action 2.7 yes
193 install_plugins_{$tab} note action 2.7 yes
194 install_themes_pre_{$tab} note action 2.8 yes
195 install_themes_table_header action 2.8 yes
196 install_themes_{$tab} note action 2.8 yes
197 in_admin_footer action 2.5 yes
198 in_plugin_update_message-{$file} note action 2.8 yes
199 in_widget_form action 2.8 yes
200 link_relatedlinks_list action 2.5 DEPRECATED
201 load-widgetsphp action 2.8 yes
202 load-{$pagenow} note action 2.1 yes
203 load-{$page_hook} note action 2.1 yes
204 load-{$plugin_page} note action 2.1 yes
205 load_feed_engine action 2.3 yes
206 load_textdomain action 2.9 yes
207 login_form action 2.1 yes
208 login_form_{$action} note action 2.8 yes
209 login_head action 2.1 yes
210 loop_end action 2.0 yes
211 loop_start action 2.0 yes
212 lostpassword_form action 2.1 yes
213 lostpassword_post action 2.1 yes
214 lost_password action 1.5.2 yes
215 manage_comments_custom_column action 2.8 yes
216 manage_comments_nav action 2.5 yes
217 manage_link_custom_column action 2.1 yes
218 manage_media_custom_column action 2.5 yes
219 manage_media_media_column action 2.5 DEPRECATED
220 manage_pages_custom_column action 2.5 yes
221 manage_posts_custom_column action 1.5 yes
222 mce_options action 2.0 DEPRECATED
223 media_buttons action 2.5 yes
224 media_upload_{$tab} note action 2.5 yes
225 media_upload_{$type} note action 2.5 yes
226 muplugins_loaded action 2.8 yes
227 page_relatedlinks_list action 2.5 DEPRECATED
228 parse_query action 1.5 yes
229 parse_request action 2.1 yes
230 password_reset action 1.5 yes
231 permalink_structure_changed action 2.8 yes
232 personal_options action 2.7 yes
233 personal_options_update action 2.0 yes
234 phpmailer_init action 2.2 yes
235 pingback_post action 1.5 yes
236 plugins_loaded action 1.5 yes
237 populate_options action 2.6 yes
238 post-flash-upload-ui action 2.6 yes
239 post-html-upload-ui action 2.6 yes
240 post-upload-ui action 2.6 yes
241 posts_selection action 2.3 yes
242 post_relatedlinks_list action 2.5 DEPRECATED
243 post_submitbox_misc_actions action 2.9 yes
244 post_submitbox_start action 2.7 yes
245 pre-flash-upload-ui action 2.6 yes
246 pre-html-upload-ui action 2.6 yes
247 pre-upload-ui action 2.6 yes
248 pre_comment_on_post action 2.8 yes
249 pre_get_posts action 2.0 yes
250 pre_ping action 2.0 yes
251 pre_post_update action 2.5 yes
252 private_to_published action 1.5 yes
253 profile_personal_options action 2.0 yes
254 profile_update action 2.0 yes
255 publish_page action 2.1 Renamed in WP 2.3 (details)
256 publish_phone action 1.2.1 yes
257 publish_post action 1.2.1 Renamed in WP 2.3 (details)
258 quick_edit_custom_box action 2.7 yes
259 rdf_header action 2.0 yes
260 rdf_item action 2.0 yes
261 rdf_ns action 2.0 yes
262 register_form action 2.1 yes
263 register_post action 2.1 yes
264 restrict_manage_posts action 2.1 yes
265 retreive_password action 1.5 yes
266 retrieve_password action 1.5.2 yes
267 retrieve_password_key action 2.5 yes
268 rightnow_end action 2.5 yes
269 right_now_table_end action 2.7 yes
270 rss2_comments_ns action 2.8 yes
271 rss2_head action 2.0 yes
272 rss2_item action 2.0 yes
273 rss2_ns action 2.0 yes
274 rss_head action 2.0 yes
275 rss_item action 2.0 yes
276 sanitize_comment_cookies action 2.0.11 yes
277 sanitize_title action 1.2.1 yes
278 save_post action 1.5 yes
279 send_headers action 2.1 yes
280 setup_theme action 2.6 yes
281 set_auth_cookie action 2.5 yes
282 set_current_user action 2.0.11 yes
283 set_logged_in_cookie action 2.6 yes
284 set_object_terms action 2.8 yes
285 set_user_role action 2.9 yes
286 show_user_profile action 2.0 yes
287 shutdown action 1.2.1 yes
288 sidebar_admin_page action 2.2 yes
289 sidebar_admin_setup action 2.2 yes
290 sidemenu action 2.5 DEPRECATED
291 simple_edit_form action 1.5 DEPRECATED
292 spammed_comment action 2.9 yes
293 spam_comment action 2.9 yes
294 submitcomment_box action 2.5 DEPRECATED
295 submitlink_box action 2.5 yes
296 submitpage_box action 2.5 yes
297 submitpost_box action 2.5 yes
298 switch_theme action 1.5 yes
299 template_redirect action 1.5 yes
300 the_post action 2.8 yes
301 tinymce_before_init action 2.0 DEPRECATED
302 tool_box action 2.8 yes
303 trackback_post action 1.2.1 yes
304 transition_comment_status action 2.7 yes
305 transition_post_status action 2.3 yes
306 trashed_comment action 2.9 yes
307 trashed_post action 2.9 yes
308 trashed_post_comments action 2.9 yes
309 trash_comment action 2.9 yes
310 trash_post action 2.9 yes
311 trash_post_comments action 2.9 yes
312 uninstall_{$file} note action 2.7 yes
313 unspammed_comment action 2.9 yes
314 unspam_comment action 2.9 yes
315 untrashed_comment action 2.9 yes
316 untrashed_post action 2.9 yes
317 untrashed_post_comments action 2.9 yes
318 untrash_comment action 2.9 yes
319 untrash_post action 2.9 yes
320 untrash_post_comments action 2.9 yes
321 update-custom_{$action} note action 2.8 yes
322 updated_option action 2.9 yes
323 updated_postmeta action 2.9 yes
324 updated_usermeta action 2.9 yes
325 updated_{$meta_type}_meta note action 2.9 yes
326 update_option action 2.9 yes
327 update_option_{$option_name} note action 2.0.11 yes
328 update_postmeta action 2.9 yes
329 update_site_option_{$key} note action 2.9 yes
330 update_usermeta action 2.9 yes
331 update_{$meta_type}_meta note action 2.9 yes
332 upload_files_{$tab} note action 2.1 DEPRECATED
333 user_profile_update_errors action 2.8 yes
334 user_register action 1.5 yes
335 widgetsphp action 2.8 yes
336 widgets_init action 2.2 yes
337 wp action 2.1 yes
338 wp-mailphp action 2.9 yes
339 wp_ajax_nopriv_{$_POST[action]} note action 2.8 DEPRECATED
340 wp_ajax_nopriv_{$_REQUEST[action]} note action 2.9 yes
341 wp_ajax_{$_GET[action]} note action 2.7 yes
342 wp_ajax_{$_POST[action]} note action 2.1 yes
343 wp_authenticate action 1.5.2 yes
344 wp_blacklist_check action 1.5 yes
345 wp_dashboard_setup action 2.5 yes
346 wp_default_scripts action 2.6 yes
347 wp_default_styles action 2.6 yes
348 wp_delete_post_revision action 2.6 yes
349 wp_enqueue_scripts action 2.8 yes
350 wp_footer action 1.5 yes
351 wp_head action 1.2.1 yes
352 wp_insert_comment action 2.8 yes
353 wp_insert_post action 2.0 yes
354 wp_login action 1.5 yes
355 wp_login_failed action 2.5 yes
356 wp_logout action 1.5 yes
357 wp_meta action 1.5 yes
358 wp_print_footer_scripts action 2.8 yes
359 wp_print_scripts action 2.1 yes
360 wp_print_styles action 2.6 yes
361 wp_restore_post_revision action 2.6 yes
362 wp_set_comment_status action 1.5 yes
363 wp_update_comment_count action 2.3 yes
364 xmlrpc_call action 2.5 yes
365 xmlrpc_publish_post action 2.1 yes
366 _admin_menu action 2.2 yes
367 _wp_put_post_revision action 2.6 yes
368 {$action} note action 2.6 yes
369 {$bulk}?bulk_edit_custom_box:quick_edit_custom_box note action 2.7 yes
370 {$hook} note action 2.1 yes
371 {$new_status}_{$post->post_type} note action 2.3 yes
372 {$old_status}_to_{$new_status} note action 2.3 yes
373 {$page_hook} note action 1.5 yes

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.