Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

All plugin hooks in WordPress 2.0

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 phone_content filter no 1
2 xmlrpc_methods filter no 1
3 get_users_drafts filter YES 1
4 get_others_drafts filter YES 1
5 get_editable_authors filter YES 1
6 content_edit_pre filter no 1
7 excerpt_edit_pre filter no 1
8 title_edit_pre filter no 1
9 default_content filter no 1
10 default_title filter no 1
11 default_excerpt filter no 1
12 comment_edit_pre filter no 1
13 thumbnail_filename filter YES 1
14 upload_mimes filter YES 1
15 manage_posts_columns filter no 1
16 kubrick_header_image filter YES 1
17 kubrick_header_color filter YES 1
18 kubrick_header_display filter YES 1
19 role_has_cap filter YES 1
20 user_has_cap filter YES 1
21 posts_where filter no 1
22 posts_join filter no 1
23 posts_where_paged filter no 1
24 posts_groupby filter YES 1
25 posts_join_paged filter no 1
26 posts_orderby filter no 1
27 posts_request filter YES 1
28 the_posts filter no 1
29 post_rewrite_rules filter no 1
30 date_rewrite_rules filter no 1
31 root_rewrite_rules filter no 1
32 comments_rewrite_rules filter no 1
33 search_rewrite_rules filter no 1
34 category_rewrite_rules filter no 1
35 author_rewrite_rules filter no 1
36 page_rewrite_rules filter no 1
37 rewrite_rules_array filter no 1
38 mod_rewrite_rules filter no 1
39 rewrite_rules filter no 1
40 query_vars filter no 1
41 query_string filter no 1
42 comments_template filter no 1
43 preprocess_comment filter no 1
44 pre_user_id filter no 1
45 pre_comment_user_agent filter no 1
46 pre_comment_author_name filter no 1
47 pre_comment_content filter no 1
48 pre_comment_user_ip filter no 1
49 pre_comment_author_url filter no 1
50 pre_comment_author_email filter no 1
51 pre_comment_user_domain filter no 1
52 pre_comment_approved filter no 1
53 comment_save_pre filter no 1
54 get_comments_number filter no 1
55 comments_number filter no 1
56 get_comment_ID filter no 1
57 get_comment_author filter no 1
58 comment_author filter no 1
59 get_comment_author_email filter no 1
60 author_email filter no 1
61 get_comment_author_link filter no 1
62 get_comment_type filter no 1
63 get_comment_author_url filter no 1
64 comment_url filter no 1
65 comment_email filter no 1
66 get_comment_author_url_link filter no 1
67 get_comment_author_IP filter no 1
68 get_comment_text filter no 1
69 comment_text filter no 1
70 get_comment_excerpt filter no 1
71 comment_excerpt filter no 1
72 get_comment_date filter no 1
73 get_comment_time filter no 1
74 the_content_rss filter YES 1
75 the_excerpt_rss filter no 1
76 comment_author_rss filter no 1
77 comment_text_rss filter no 1
78 post_comments_feed_link filter no 1
79 author_feed_link filter no 1
80 category_feed_link filter no 1
81 the_category_rss filter no 1
82 sanitize_title filter no 1
83 format_to_edit filter no 1
84 format_to_post filter no 1
85 status_save_pre filter no 1
86 post_mime_type_pre filter YES 1
87 get_pung filter YES 1
88 get_enclosed filter YES 1
89 get_to_ping filter YES 1
90 add_ping filter YES 1
91 upload_dir filter YES 1
92 option_{$setting} note filter no 1
93 pre_option_{$option->option_name} note filter no 1
94 all_options filter no 1
95 {$tag} note filter no 1
96 theme_root filter no 1
97 theme_root_uri filter no 1
98 stylesheet filter no 1
99 stylesheet_directory filter no 1
100 stylesheet_directory_uri filter no 1
101 stylesheet_uri filter no 1
102 template filter no 1
103 template_directory filter no 1
104 template_directory_uri filter no 1
105 {$type}_template note filter no 1
106 category_template filter no 1
107 home_template filter no 1
108 page_template filter no 1
109 comments_popup_template filter no 1
110 link_rating filter no 1
111 comment_notification_text filter no 1
112 comment_notification_subject filter no 1
113 comment_notification_headers filter no 1
114 comment_moderation_text filter no 1
115 comment_moderation_subject filter no 1
116 update_user_query filter YES 1
117 create_user_query filter YES 1
118 the_author filter YES 1
119 the_author_email filter no 1
120 author_link filter no 1
121 category_link filter no 1
122 list_cats_exclusions filter no 1
123 loginout filter no 1
124 register filter no 1
125 bloginfo filter no 1
126 wp_title filter YES 1
127 the_date filter no 1
128 the_time filter no 1
129 the_modified_time filter YES 1
130 the_weekday filter no 1
131 the_weekday_date filter no 1
132 page_link filter no 1
133 attachment_link filter YES 1
134 feed_link filter no 1
135 get_the_guid filter no 1
136 get_the_excerpt filter no 1
137 wp_list_pages filter no 1
138 icon_dir filter YES 1
139 icon_dir_uri filter YES 1
140 attachment_max_dims filter YES 1
141 attachment_icon filter YES 1
142 attachment_innerHTML filter YES 1
143 prepend_attachment filter YES 1
144 locale filter no 1
145 mce_theme filter YES 1
146 mce_plugins filter YES 1
147 mce_valid_elements filter YES 1
148 mce_buttons filter YES 1
149 mce_buttons_2 filter YES 1
150 mce_buttons_3 filter YES 1
151 mce_browsers filter YES 1
152 atom_ns action YES 1
153 atom_head action YES 1
154 atom_entry action YES 1
155 comment_id_not_found action no 1
156 comment_closed action no 1
157 comment_on_draft action no 1
158 wp_logout action no 1
159 lost_password action no 1
160 retreive_password action no 1
161 retrieve_password action no 1
162 password_reset action no 1
163 wp_authenticate action no 1
164 wp_login action no 1
165 publish_phone action no 1
166 rdf_ns action YES 1
167 rdf_header action YES 1
168 rdf_item action YES 1
169 rss_head action YES 1
170 rss_item action YES 1
171 rss2_ns action YES 1
172 rss2_head action YES 1
173 rss2_item action YES 1
174 core_files_loaded action no 1
175 plugins_loaded action no 1
176 shutdown action no 1
177 init action no 1
178 trackback_post action no 1
179 pingback_post action no 1
180 edit_category action YES 1
181 create_category action YES 1
182 add_category action no 1
183 delete_category action no 1
184 delete_user action YES 1
185 edit_link action YES 1
186 add_link action YES 1
187 delete_link action YES 1
188 check_passwords action no 1
189 check_admin_referer action no 1
190 admin_head action no 1
191 {$page_hook} note action no 1
192 edit_form_advanced action no 1
193 simple_edit_form action no 1
194 edit_page_form action no 1
195 manage_posts_custom_column action no 1
196 activity_box_end action YES 1
197 admin_menu action no 1
198 activate_{$plugin} note action YES 1
199 deactivate_{$plugin} note action YES 1
200 personal_options_update action YES 1
201 show_user_profile action YES 1
202 profile_personal_options action YES 1
203 edit_user_profile action YES 1
204 pre_get_posts action YES 1
205 loop_start action YES 1
206 loop_end action YES 1
207 generate_rewrite_rules action no 1
208 comment_post action no 1
209 comment_flood_trigger action no 1
210 edit_comment action no 1
211 pre_ping action YES 1
212 private_to_published action no 1
213 edit_post action no 1
214 publish_post action no 1
215 save_post action no 1
216 wp_insert_post action YES 1
217 edit_attachment action YES 1
218 add_attachment action YES 1
219 delete_attachment action YES 1
220 delete_post action no 1
221 wp_blacklist_check action no 1
222 {$tag} note action no 1
223 wp_head action no 1
224 wp_footer action no 1
225 profile_update action YES 1
226 user_register action no 1
227 wp_meta action no 1
228 template_redirect action no 1
229 mce_options action YES 1
230 tinymce_before_init action YES 1
231 the_title_rss filter no 2
232 uploading_iframe_src filter YES 2
233 richedit_pre filter YES 2
234 excerpt_save_pre filter no 2
235 title_save_pre filter no 2
236 category_save_pre filter no 2
237 name_save_pre filter no 2
238 comment_status_pre filter YES 2
239 ping_status_pre filter YES 2
240 the_excerpt filter no 2
241 the_category filter no 2
242 category_description filter no 2
243 single_post_title filter no 2
244 get_the_time filter no 2
245 get_the_modified_time filter YES 2
246 the_permalink filter no 2
247 post_link filter no 2
248 year_link filter no 2
249 month_link filter no 2
250 day_link filter no 2
251 admin_footer action no 2
252 delete_comment action no 2
253 parse_query action no 2
254 wp_set_comment_status action no 2
255 show_password_fields filter no 3
256 the_content filter no 3
257 switch_theme action no 3
258 content_save_pre filter no 4
259 list_cats filter no 4
260 comment_form action no 4
261 the_title filter no 8

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.