Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

All plugin hooks in WordPress 2.0.11

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