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