All plugin hooks in WordPress 1.5.2

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.

  • 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? Instances
1 query_vars filter YES 1
2 query_string filter YES 1
3 phone_content filter no 1
4 xmlrpc_methods filter YES 1
5 manage_posts_columns filter YES 1
6 title_save_pre filter YES 1
7 category_save_pre filter YES 1
8 status_save_pre filter YES 1
9 name_save_pre filter YES 1
10 content_edit_pre filter YES 1
11 excerpt_edit_pre filter YES 1
12 title_edit_pre filter YES 1
13 comment_edit_pre filter YES 1
14 comment_save_pre filter YES 1
15 default_content filter YES 1
16 default_title filter YES 1
17 default_excerpt filter YES 1
18 posts_where filter YES 1
19 posts_join filter YES 1
20 posts_where_paged filter YES 1
21 posts_join_paged filter YES 1
22 posts_orderby filter YES 1
23 the_posts filter YES 1
24 post_rewrite_rules filter YES 1
25 date_rewrite_rules filter YES 1
26 root_rewrite_rules filter YES 1
27 comments_rewrite_rules filter YES 1
28 search_rewrite_rules filter YES 1
29 category_rewrite_rules filter YES 1
30 author_rewrite_rules filter YES 1
31 page_rewrite_rules filter YES 1
32 rewrite_rules_array filter YES 1
33 mod_rewrite_rules filter YES 1
34 rewrite_rules filter YES 1
35 comments_template filter YES 1
36 get_comments_number filter YES 1
37 comments_number filter YES 1
38 get_comment_ID filter YES 1
39 get_comment_author filter YES 1
40 comment_author filter no 1
41 get_comment_author_email filter YES 1
42 author_email filter no 1
43 get_comment_author_link filter YES 1
44 get_comment_type filter YES 1
45 get_comment_author_url filter YES 1
46 comment_url filter no 1
47 comment_email filter no 1
48 get_comment_author_url_link filter YES 1
49 get_comment_author_IP filter YES 1
50 get_comment_text filter YES 1
51 comment_text filter no 1
52 get_comment_excerpt filter YES 1
53 comment_excerpt filter no 1
54 get_comment_date filter YES 1
55 get_comment_time filter YES 1
56 the_excerpt_rss filter no 1
57 comment_author_rss filter YES 1
58 comment_text_rss filter YES 1
59 post_comments_feed_link filter YES 1
60 author_feed_link filter YES 1
61 category_feed_link filter YES 1
62 the_category_rss filter no 1
63 sanitize_title filter no 1
64 format_to_edit filter no 1
65 format_to_post filter no 1
66 preprocess_comment filter YES 1
67 pre_user_id filter YES 1
68 pre_comment_author_name filter YES 1
69 pre_comment_author_email filter YES 1
70 pre_comment_author_url filter YES 1
71 pre_comment_content filter YES 1
72 post_comment_text filter no 1
73 comment_content_presave filter YES 1
74 pre_comment_user_ip filter YES 1
75 pre_comment_user_domain filter YES 1
76 pre_comment_user_agent filter YES 1
77 pre_comment_approved filter YES 1
78 pre_option_{$option->option_name} note filter YES 1
79 all_options filter YES 1
80 {$tag} note filter no 1
81 theme_root filter YES 1
82 theme_root_uri filter YES 1
83 stylesheet filter YES 1
84 stylesheet_directory filter YES 1
85 stylesheet_directory_uri filter YES 1
86 stylesheet_uri filter YES 1
87 template filter YES 1
88 template_directory filter YES 1
89 template_directory_uri filter YES 1
90 {$type}_template note filter YES 1
91 category_template filter YES 1
92 home_template filter YES 1
93 page_template filter YES 1
94 comments_popup_template filter YES 1
95 link_rating filter YES 1
96 comment_notification_text filter YES 1
97 comment_notification_subject filter YES 1
98 comment_notification_headers filter YES 1
99 comment_moderation_text filter YES 1
100 comment_moderation_subject filter YES 1
101 the_author_email filter YES 1
102 author_link filter YES 1
103 category_link filter YES 1
104 list_cats_exclusions filter YES 1
105 loginout filter YES 1
106 register filter YES 1
107 bloginfo filter no 1
108 the_date filter no 1
109 the_time filter no 1
110 the_weekday filter no 1
111 the_weekday_date filter no 1
112 page_link filter YES 1
113 feed_link filter YES 1
114 get_the_guid filter YES 1
115 get_the_excerpt filter YES 1
116 wp_list_pages filter YES 1
117 locale filter YES 1
118 template_redirect action YES 1
119 comment_id_not_found action YES 1
120 comment_closed action YES 1
121 comment_on_draft action YES 1
122 wp_logout action YES 1
123 lost_password action YES 1
124 retreive_password action YES 1
125 retrieve_password action YES 1
126 password_reset action YES 1
127 wp_authenticate action YES 1
128 wp_login action YES 1
129 publish_phone action no 1
130 core_files_loaded action YES 1
131 plugins_loaded action YES 1
132 shutdown action no 1
133 init action YES 1
134 trackback_post action no 1
135 pingback_post action YES 1
136 check_admin_referer action YES 1
137 admin_head action no 1
138 {$page_hook} note action YES 1
139 add_category action YES 1
140 delete_category action YES 1
141 edit_form_advanced action YES 1
142 simple_edit_form action YES 1
143 edit_page_form action YES 1
144 manage_posts_custom_column action YES 1
145 admin_menu action YES 1
146 save_post action YES 1
147 private_to_published action YES 1
148 delete_post action no 1
149 delete_comment action no 1
150 edit_comment action no 1
151 parse_query action YES 1
152 generate_rewrite_rules action YES 1
153 wp_set_comment_status action YES 1
154 wp_blacklist_check action YES 1
155 comment_flood_trigger action YES 1
156 comment_post action no 1
157 {$tag} note action no 1
158 wp_head action no 1
159 wp_footer action YES 1
160 wp_meta action YES 1
161 the_title_rss filter no 2
162 excerpt_save_pre filter YES 2
163 the_excerpt filter no 2
164 the_category filter no 2
165 category_description filter no 2
166 single_post_title filter no 2
167 get_the_time filter YES 2
168 the_permalink filter YES 2
169 post_link filter YES 2
170 year_link filter YES 2
171 month_link filter YES 2
172 day_link filter YES 2
173 user_register action YES 2
174 admin_footer action no 2
175 show_password_fields filter YES 3
176 edit_post action no 3
177 switch_theme action YES 3
178 check_passwords action YES 3
179 option_{$setting} note filter YES 4
180 list_cats filter no 4
181 comment_form action YES 4
182 the_content filter no 5
183 publish_post action no 5
184 content_save_pre filter YES 6
185 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.