All hooks in WP 1.5

Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, sort the table by "hook" and make sure you are looking in all the files where it occurs.

  • To sort the table, click on a column title.
  • Click a hook name to see details about the hook.
  • Click a file name to see only hooks used in that file.
Hook Type New? File
1 admin_footer action no /.../admin-footer.php
2 admin_footer action no /.../bookmarklet.php
3 admin_head action no /.../admin-header.php
4 admin_menu action YES /.../menu.php
5 all_options filter YES /.../functions.php
6 author_email filter no /.../comment-functions.php
7 author_link filter YES /.../template-functions-author.php
8 author_rewrite_rules filter YES /.../classes.php
9 bloginfo filter no /.../template-functions-general.php
10 category_description filter no /.../template-functions-category.php
11 category_link filter YES /.../template-functions-category.php
12 category_rewrite_rules filter YES /.../classes.php
13 category_save_pre filter YES /.../post.php
14 category_template filter YES /.../functions.php
15 comments_number filter YES /.../comment-functions.php
16 comments_popup_template filter YES /.../functions.php
17 comments_rewrite_rules filter YES /.../classes.php
18 comment_author filter no /.../comment-functions.php
19 comment_author_rss filter YES /.../feed-functions.php
20 comment_closed action YES wp-comments-post.php
21 comment_content_presave filter YES /.../functions-post.php
22 comment_edit_pre filter YES /.../post.php
23 comment_email filter no /.../comment-functions.php
24 comment_excerpt filter no /.../comment-functions.php
25 comment_flood_trigger action YES /.../functions-post.php
26 comment_form action YES /.../comments-popup.php
27 comment_form action no /.../comments.php
28 comment_form action no /.../comments-popup.php
29 comment_form action no /.../comments.php
30 comment_id_not_found action YES wp-comments-post.php
31 comment_post action no /.../functions-post.php
32 comment_save_pre filter YES /.../post.php
33 comment_text filter no /.../comment-functions.php
34 comment_text_rss filter YES /.../feed-functions.php
35 comment_url filter no /.../comment-functions.php
36 content_edit_pre filter YES /.../post.php
37 content_save_pre filter YES xmlrpc.php
38 content_save_pre filter no /.../post.php
39 core_files_loaded action YES wp-settings.php
40 date_rewrite_rules filter YES /.../classes.php
41 day_link filter YES /.../template-functions-links.php
42 default_content filter YES /.../post.php
43 default_excerpt filter YES /.../post.php
44 default_title filter YES /.../post.php
45 delete_comment action no /.../post.php
46 delete_post action no /.../post.php
47 edit_comment action no /.../post.php
48 edit_form_advanced action YES /.../edit-form-advanced.php
49 edit_page_form action YES /.../edit-page-form.php
50 edit_post action no /.../post.php
51 edit_post action no /.../functions-post.php
52 excerpt_edit_pre filter YES /.../post.php
53 excerpt_save_pre filter YES /.../post.php
54 feed_link filter YES /.../template-functions-links.php
55 format_to_edit filter no /.../functions-formatting.php
56 format_to_post filter no /.../functions-formatting.php
57 generate_rewrite_rules action YES /.../classes.php
58 get_comments_number filter YES /.../comment-functions.php
59 get_comment_author filter YES /.../comment-functions.php
60 get_comment_author_email filter YES /.../comment-functions.php
61 get_comment_author_IP filter YES /.../comment-functions.php
62 get_comment_author_link filter YES /.../comment-functions.php
63 get_comment_author_url filter YES /.../comment-functions.php
64 get_comment_author_url_link filter YES /.../comment-functions.php
65 get_comment_date filter YES /.../comment-functions.php
66 get_comment_excerpt filter YES /.../comment-functions.php
67 get_comment_ID filter YES /.../comment-functions.php
68 get_comment_text filter YES /.../comment-functions.php
69 get_comment_time filter YES /.../comment-functions.php
70 get_comment_type filter YES /.../comment-functions.php
71 get_the_excerpt filter YES /.../template-functions-post.php
72 get_the_guid filter YES /.../template-functions-post.php
73 get_the_time filter YES /.../template-functions-general.php
74 home_template filter YES /.../functions.php
75 init action YES wp-settings.php
76 link_rating filter YES /.../links.php
77 list_cats filter no /.../template-functions-category.php
78 locale filter YES /.../wp-l10n.php
79 loginout filter YES /.../template-functions-general.php
80 manage_posts_columns filter YES /.../edit.php
81 manage_posts_custom_column action YES /.../edit.php
82 mod_rewrite_rules filter YES /.../classes.php
83 month_link filter YES /.../template-functions-links.php
84 name_save_pre filter YES /.../post.php
85 option_ note filter YES /.../functions.php
86 page_link filter YES /.../template-functions-links.php
87 page_rewrite_rules filter YES /.../classes.php
88 page_template filter YES /.../functions.php
89 parse_query action YES /.../classes.php
90 password_reset action YES wp-login.php
91 phone_content filter no wp-mail.php
92 pingback_post action no xmlrpc.php
93 plugins_loaded action YES wp-settings.php
94 posts_join filter YES /.../classes.php
95 posts_join_paged filter YES /.../classes.php
96 posts_where filter YES /.../classes.php
97 posts_where_paged filter YES /.../classes.php
98 post_comment_text filter no /.../functions-post.php
99 post_link filter YES /.../template-functions-links.php
100 post_rewrite_rules filter YES /.../classes.php
101 preprocess_comment filter YES /.../functions-post.php
102 pre_comment_approved filter YES /.../functions-post.php
103 pre_comment_author_email filter YES /.../functions-post.php
104 pre_comment_author_name filter YES /.../functions-post.php
105 pre_comment_author_url filter YES /.../functions-post.php
106 pre_comment_content filter YES /.../functions-post.php
107 pre_comment_user_agent filter YES /.../functions-post.php
108 pre_comment_user_domain filter YES /.../functions-post.php
109 pre_comment_user_ip filter YES /.../functions-post.php
110 pre_option_ note filter YES /.../functions.php
111 pre_user_id filter YES /.../functions-post.php
112 private_to_published action YES /.../post.php
113 publish_phone action no wp-mail.php
114 publish_post action no /.../post.php
115 publish_post action no /.../functions-post.php
116 query_string filter YES wp-blog-header.php
117 query_vars filter YES wp-blog-header.php
118 register filter YES /.../template-functions-general.php
119 retreive_password action YES wp-login.php
120 rewrite_rules filter YES /.../classes.php
121 rewrite_rules_array filter YES /.../classes.php
122 root_rewrite_rules filter YES /.../classes.php
123 sanitize_title filter no /.../functions-formatting.php
124 save_post action YES /.../post.php
125 search_rewrite_rules filter YES /.../classes.php
126 shutdown action no wp-settings.php
127 simple_edit_form action YES /.../edit-form.php
128 single_post_title filter no /.../template-functions-general.php
129 status_save_pre filter YES /.../post.php
130 stylesheet filter YES /.../functions.php
131 stylesheet_directory filter YES /.../functions.php
132 stylesheet_directory_uri filter YES /.../functions.php
133 stylesheet_uri filter YES /.../functions.php
134 switch_theme action YES /.../admin-functions.php
135 switch_theme action no /.../themes.php
136 template filter YES /.../functions.php
137 template_directory filter YES /.../functions.php
138 template_directory_uri filter YES /.../functions.php
139 template_redirect action YES wp-blog-header.php
140 theme_root filter YES /.../functions.php
141 theme_root_uri filter YES /.../functions.php
142 the_author_email filter YES /.../template-functions-author.php
143 the_category filter no /.../template-functions-category.php
144 the_category_rss filter no /.../feed-functions.php
145 the_content filter no /.../post.php
146 the_content filter no /.../feed-functions.php
147 the_content filter no /.../template-functions-post.php
148 the_date filter no /.../template-functions-general.php
149 the_excerpt filter no /.../template-functions-post.php
150 the_excerpt_rss filter no /.../feed-functions.php
151 the_permalink filter YES /.../template-functions-links.php
152 the_posts filter YES /.../classes.php
153 the_time filter no /.../template-functions-general.php
154 the_title filter no /.../feed-functions.php
155 the_title filter no /.../template-functions-links.php
156 the_title filter no /.../template-functions-post.php
157 the_title_rss filter no /.../feed-functions.php
158 the_weekday filter no /.../template-functions-general.php
159 the_weekday_date filter no /.../template-functions-general.php
160 title_edit_pre filter YES /.../post.php
161 title_save_pre filter YES /.../post.php
162 trackback_post action no wp-trackback.php
163 user_register action YES wp-register.php
164 wp_blacklist_check action YES /.../functions-post.php
165 wp_footer action YES /.../footer.php
166 wp_footer action no /.../footer.php
167 wp_head action no /.../functions.php
168 wp_login action YES wp-login.php
169 wp_logout action YES wp-login.php
170 wp_meta action YES /.../template-functions-general.php
171 wp_set_comment_status action YES /.../comment-functions.php
172 xmlrpc_methods filter YES xmlrpc.php
173 year_link filter YES /.../template-functions-links.php
174 {$type}_template note filter YES /.../functions.php

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.