List of all WordPress action hooks

Hook Type Appearance In 2.5?
1 ${new_status}_$post->post_type note action 2.3 yes
2 ${old_status}_to_$new_status note action 2.3 yes
3 activate_ note action 2.0 yes
4 activity_box_end action 2.0 yes
5 add_attachment action 2.0 yes
6 add_category action 1.5.2 DEPRECATED
7 add_category_form_pre action 2.1 yes
8 add_link action 2.0 yes
9 add_link_category_form_pre action 2.3 yes
10 add_option_{$name} note action 2.5 yes
11 add_tag_form_pre action 2.5 yes
12 adminmenu action 2.5 yes
13 admin_footer action 1.2.1 yes
14 admin_head action 1.2.1 yes
15 admin_head- note action 2.1 yes
16 admin_head_{$content_func} note action 2.5 yes
17 admin_init action 2.5 yes
18 admin_menu action 1.5 yes
19 admin_notices action 2.0.11 yes
20 admin_page_access_denied action 2.5 yes
21 admin_print_scripts action 2.1 yes
22 admin_print_scripts- note action 2.1 yes
23 admin_xml_ns action 2.2 yes
24 after_plugin_row action 2.3 yes
25 akismet_spam_caught action 2.3.2 yes
26 akismet_tabs action 2.3.2 yes
27 app_publish_post action 2.2 yes
28 atom_entry action 2.0 yes
29 atom_head action 2.0 yes
30 atom_ns action 2.0 yes
31 blog_privacy_selector action 2.1 yes
32 check_admin_referer action 1.5.1 yes
33 check_ajax_referer action 2.1 yes
34 check_comment_flood action 2.3 yes
35 check_passwords action 1.5.1 DEPRECATED
36 clean_object_term_cache action 2.5 yes
37 clean_page_cache action 2.5 yes
38 clean_post_cache action 2.5 yes
39 clean_term_cache action 2.5 yes
40 commentrss2_item action 2.1 yes
41 commentsrss2_head action 2.3 yes
42 comment_atom_entry action 2.2 yes
43 comment_closed action 1.5 yes
44 comment_flood_trigger action 1.5 yes
45 comment_form action 1.5 yes
46 comment_id_not_found action 1.5 yes
47 comment_loop_start action 2.2 yes
48 comment_on_draft action 1.5.1 yes
49 comment_post action 1.2.1 yes
50 comment_relatedlinks_list action 2.5 yes
51 core_files_loaded action 1.5 DEPRECATED
52 created_$taxonomy note action 2.3 yes
53 created_category action 2.2 Renamed in WP 2.3 (details)
54 created_term action 2.3 yes
55 create_$taxonomy note action 2.3 yes
56 create_category action 2.0 Renamed in WP 2.3 (details)
57 create_term action 2.3 yes
58 dashmenu action 2.5 yes
59 dbx_page_advanced action 2.0.11 DEPRECATED
60 dbx_page_sidebar action 2.0.11 DEPRECATED
61 dbx_post_advanced action 2.0.11 yes
62 dbx_post_sidebar action 2.0.11 yes
63 deactivate_ note action 2.0 yes
64 deleted_link action 2.2 yes
65 deleted_post action 2.2 yes
66 delete_$taxonomy note action 2.3 yes
67 delete_attachment action 2.0 yes
68 delete_category action 1.5.2 Renamed in WP 2.3 (details)
69 delete_comment action 1.2.1 yes
70 delete_link action 2.0 yes
71 delete_post action 1.2.1 yes
72 delete_term action 2.5 yes
73 delete_user action 2.0 yes
74 deprecated_file_included action 2.5 yes
75 deprecated_function_run action 2.5 yes
76 do_robots action 2.1 yes
77 do_robotstxt action 2.1 yes
78 edited_$taxonomy note action 2.3 yes
79 edited_category action 2.2 Renamed in WP 2.3 (details)
80 edited_term action 2.3 yes
81 edit_$taxonomy note action 2.3 yes
82 edit_attachment action 2.0 yes
83 edit_category action 2.0 Renamed in WP 2.3 (details)
84 edit_category_form action 2.1 yes
85 edit_category_form_pre action 2.1 yes
86 edit_comment action 1.2.1 yes
87 edit_form_advanced action 1.5 yes
88 edit_link action 2.0 yes
89 edit_link_category_form action 2.3 yes
90 edit_link_category_form_pre action 2.3 yes
91 edit_page_form action 1.5 yes
92 edit_post action 1.2.1 yes
93 edit_tag_form action 2.5 yes
94 edit_tag_form_pre action 2.5 yes
95 edit_term action 2.3 yes
96 edit_user_profile action 2.0 yes
97 export_wp action 2.3 yes
98 generate_rewrite_rules action 1.5 DEPRECATED
99 get_footer action 2.1 yes
100 get_header action 2.1 yes
101 get_sidebar action 2.2 yes
102 import_done action 2.2 yes
103 import_end action 2.5 yes
104 import_post_added action 2.5 yes
105 import_post_meta action 2.5 yes
106 import_start action 2.5 yes
107 init action 1.5 yes
108 in_admin_footer action 2.5 yes
109 link_relatedlinks_list action 2.5 yes
110 load- note action 2.1 yes
111 load-$pagenow note action 2.1 yes
112 load_feed_engine action 2.3 yes
113 login_form action 2.1 yes
114 login_head action 2.1 yes
115 loop_end action 2.0 yes
116 loop_start action 2.0 yes
117 lostpassword_form action 2.1 yes
118 lostpassword_post action 2.1 yes
119 lost_password action 1.5.1 yes
120 manage_comments_nav action 2.5 yes
121 manage_link_custom_column action 2.1 yes
122 manage_media_custom_column action 2.5 yes
123 manage_media_media_column action 2.5 yes
124 manage_pages_custom_column action 2.5 yes
125 manage_posts_custom_column action 1.5 yes
126 mce_options action 2.0 yes
127 media_buttons action 2.5 yes
128 media_upload_$tab note action 2.5 yes
129 media_upload_$type note action 2.5 yes
130 page_relatedlinks_list action 2.5 yes
131 parse_query action 1.5 DEPRECATED
132 password_reset action 1.5 yes
133 personal_options_update action 2.0 yes
134 pingback_post action 1.2.2 yes
135 plugins_loaded action 1.5 yes
136 posts_selection action 2.3 yes
137 post_relatedlinks_list action 2.5 yes
138 pre_get_posts action 2.0 DEPRECATED
139 pre_ping action 2.0 DEPRECATED
140 pre_post_update action 2.5 yes
141 private_to_published action 1.5 yes
142 profile_personal_options action 2.0 yes
143 profile_update action 2.0 yes
144 publish_page action 2.1 Renamed in WP 2.3 (details)
145 publish_phone action 1.2.1 yes
146 publish_post action 1.2.1 Renamed in WP 2.3 (details)
147 rdf_header action 2.0 yes
148 rdf_item action 2.0 yes
149 rdf_ns action 2.0 yes
150 register_form action 2.1 yes
151 register_post action 2.1 yes
152 restrict_manage_posts action 2.1 yes
153 retreive_password action 1.5 yes
154 retrieve_password action 1.5.1 yes
155 retrieve_password_key action 2.5 yes
156 rightnow_end action 2.5 yes
157 rss2_head action 2.0 yes
158 rss2_item action 2.0 yes
159 rss2_ns action 2.0 yes
160 rss_head action 2.0 yes
161 rss_item action 2.0 yes
162 sanitize_comment_cookies action 2.0.11 yes
163 sanitize_title action 1.2.1 yes
164 save_post action 1.5 yes
165 set_auth_cookie action 2.5 yes
166 set_current_user action 2.0.11 yes
167 show_user_profile action 2.0 yes
168 shutdown action 1.2.1 yes
169 sidebar_admin_page action 2.2 yes
170 sidebar_admin_setup action 2.2 yes
171 sidemenu action 2.5 yes
172 simple_edit_form action 1.5 yes
173 submitcomment_box action 2.5 yes
174 submitlink_box action 2.5 yes
175 submitpage_box action 2.5 yes
176 submitpost_box action 2.5 yes
177 switch_theme action 1.5 yes
178 template_redirect action 1.5 yes
179 tinymce_before_init action 2.0 DEPRECATED
180 trackback_post action 1.2.1 yes
181 transition_post_status action 2.3 yes
182 update_option_{$option_name} note action 2.0.11 yes
183 upload_files_$tab note action 2.1 DEPRECATED
184 user_register action 1.5 yes
185 widgets_init action 2.2 yes
186 wp_ajax_ note action 2.1 yes
187 wp_authenticate action 1.5.1 DEPRECATED
188 wp_blacklist_check action 1.5 yes
189 wp_dashboard_setup action 2.5 yes
190 wp_footer action 1.5 yes
191 wp_head action 1.2.1 yes
192 wp_insert_post action 2.0 yes
193 wp_login action 1.5 yes
194 wp_login_failed action 2.5 yes
195 wp_logout action 1.5 yes
196 wp_meta action 1.5 yes
197 wp_print_scripts action 2.1 yes
198 wp_set_comment_status action 1.5 yes
199 wp_update_comment_count action 2.3 yes
200 xmlrpc_call action 2.3.2 yes
201 xmlrpc_publish_post action 2.1 yes
202 _admin_menu action 2.2 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.