Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New 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.

Hook Type New? Instances
1 query_vars filter YES 1
2 query_string filter YES 1
3 xmlrpc_methods filter YES 1
4 content_save_pre filter YES 1
5 manage_posts_columns filter YES 1
6 excerpt_save_pre filter YES 1
7 title_save_pre filter YES 1
8 category_save_pre filter YES 1
9 status_save_pre filter YES 1
10 name_save_pre filter YES 1
11 content_edit_pre filter YES 1
12 excerpt_edit_pre filter YES 1
13 title_edit_pre filter YES 1
14 comment_edit_pre filter YES 1
15 comment_save_pre filter YES 1
16 default_content filter YES 1
17 default_title filter YES 1
18 default_excerpt filter YES 1
19 show_password_fields filter YES 1
20 posts_where filter YES 1
21 posts_join filter YES 1
22 posts_where_paged filter YES 1
23 posts_join_paged filter YES 1
24 posts_orderby filter YES 1
25 the_posts filter YES 1
26 post_rewrite_rules filter YES 1
27 date_rewrite_rules filter YES 1
28 root_rewrite_rules filter YES 1
29 comments_rewrite_rules filter YES 1
30 search_rewrite_rules filter YES 1
31 category_rewrite_rules filter YES 1
32 author_rewrite_rules filter YES 1
33 page_rewrite_rules filter YES 1
34 rewrite_rules_array filter YES 1
35 mod_rewrite_rules filter YES 1
36 rewrite_rules filter YES 1
37 comments_template filter YES 1
38 get_comments_number filter YES 1
39 comments_number filter YES 1
40 get_comment_ID filter YES 1
41 get_comment_author filter YES 1
42 get_comment_author_email filter YES 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 get_comment_author_url_link filter YES 1
47 get_comment_author_IP filter YES 1
48 get_comment_text filter YES 1
49 get_comment_excerpt filter YES 1
50 get_comment_date filter YES 1
51 get_comment_time filter YES 1
52 comment_author_rss filter YES 1
53 comment_text_rss filter YES 1
54 post_comments_feed_link filter YES 1
55 author_feed_link filter YES 1
56 category_feed_link filter YES 1
57 preprocess_comment filter YES 1
58 pre_user_id filter YES 1
59 pre_comment_author_name filter YES 1
60 pre_comment_author_email filter YES 1
61 pre_comment_author_url filter YES 1
62 pre_comment_content filter YES 1
63 comment_content_presave filter YES 1
64 pre_comment_user_ip filter YES 1
65 pre_comment_user_domain filter YES 1
66 pre_comment_user_agent filter YES 1
67 pre_comment_approved filter YES 1
68 option_{$setting} note filter YES 1
69 pre_option_{$option->option_name} note filter YES 1
70 all_options filter YES 1
71 theme_root filter YES 1
72 theme_root_uri filter YES 1
73 stylesheet filter YES 1
74 stylesheet_directory filter YES 1
75 stylesheet_directory_uri filter YES 1
76 stylesheet_uri filter YES 1
77 template filter YES 1
78 template_directory filter YES 1
79 template_directory_uri filter YES 1
80 {$type}_template note filter YES 1
81 category_template filter YES 1
82 home_template filter YES 1
83 page_template filter YES 1
84 comments_popup_template filter YES 1
85 link_rating filter YES 1
86 comment_notification_text filter YES 1
87 comment_notification_subject filter YES 1
88 comment_notification_headers filter YES 1
89 comment_moderation_text filter YES 1
90 comment_moderation_subject filter YES 1
91 the_author_email filter YES 1
92 author_link filter YES 1
93 category_link filter YES 1
94 list_cats_exclusions filter YES 1
95 loginout filter YES 1
96 register filter YES 1
97 get_the_time filter YES 1
98 the_permalink filter YES 1
99 post_link filter YES 1
100 page_link filter YES 1
101 year_link filter YES 1
102 month_link filter YES 1
103 day_link filter YES 1
104 feed_link filter YES 1
105 get_the_guid filter YES 1
106 get_the_excerpt filter YES 1
107 wp_list_pages filter YES 1
108 locale filter YES 1
109 template_redirect action YES 1
110 comment_id_not_found action YES 1
111 comment_closed action YES 1
112 comment_on_draft action YES 1
113 wp_logout action YES 1
114 lost_password action YES 1
115 retreive_password action YES 1
116 retrieve_password action YES 1
117 password_reset action YES 1
118 wp_authenticate action YES 1
119 wp_login action YES 1
120 user_register action YES 1
121 core_files_loaded action YES 1
122 plugins_loaded action YES 1
123 init action YES 1
124 pingback_post action YES 1
125 check_admin_referer action YES 1
126 switch_theme action YES 1
127 {$page_hook} note action YES 1
128 add_category action YES 1
129 delete_category action YES 1
130 edit_form_advanced action YES 1
131 simple_edit_form action YES 1
132 edit_page_form action YES 1
133 manage_posts_custom_column action YES 1
134 admin_menu action YES 1
135 save_post action YES 1
136 private_to_published action YES 1
137 check_passwords action YES 1
138 comment_form action YES 1
139 parse_query action YES 1
140 generate_rewrite_rules action YES 1
141 wp_set_comment_status action YES 1
142 wp_blacklist_check action YES 1
143 comment_flood_trigger action YES 1
144 wp_footer action YES 1
145 wp_meta action 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.