Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 2.3

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 list_terms_exclusions filter YES 1
2 wp_dropdown_users filter YES 1
3 tag_template filter YES 1
4 term_id_filter filter YES 1
5 {$taxonomy}_{$field} note filter YES 1
6 term_{$field} note filter YES 1
7 {$taxonomy}_{$field_rss} note filter YES 1
8 term_{$field}_rss note filter YES 1
9 pre_{$taxonomy}_{$field} note filter YES 1
10 pre_term_{$field} note filter YES 1
11 edit_{$taxonomy}_{$field} note filter YES 1
12 edit_term_{$field} note filter YES 1
13 widget_text filter YES 1
14 get_terms filter YES 1
15 get_{$taxonomy} note filter YES 1
16 get_term filter YES 1
17 print_scripts_array filter YES 1
18 tag_rewrite_rules filter YES 1
19 posts_results filter YES 1
20 get_lastpostmodified filter YES 1
21 get_lastpostdate filter YES 1
22 post_{$field} note filter YES 1
23 {$field}_pre note filter YES 1
24 pre_post_{$field} note filter YES 1
25 {$new_status}_{$post->post_type} note action YES 1
26 edited_{$taxonomy} note action YES 1
27 edited_term action YES 1
28 edit_{$taxonomy} note action YES 1
29 edit_term action YES 1
30 created_{$taxonomy} note action YES 1
31 created_term action YES 1
32 create_{$taxonomy} note action YES 1
33 create_term action YES 1
34 delete_{$taxonomy} note action YES 1
35 load_feed_engine action YES 1
36 posts_selection action YES 1
37 {$field_no_prefix}_save_pre note filter YES 1
38 {$old_status}_to_{$new_status} note action YES 1
39 transition_post_status action YES 1
40 commentsrss2_head action YES 1
41 wp_update_comment_count action YES 1
42 check_comment_flood action YES 1
43 after_plugin_row action YES 1
44 export_wp action YES 1
45 edit_link_category_form action YES 1
46 add_link_category_form_pre action YES 1
47 edit_link_category_form_pre action YES 1
48 cat_row filter YES 1
49 the_tags filter YES 1
50 get_the_tags filter YES 1
51 tag_link filter YES 1
52 wp_generate_tag_cloud filter YES 1
53 wp_tag_cloud filter YES 1
54 redirect_canonical filter YES 1
55 {$field} note filter YES 1
56 pre_{$field} note filter YES 1
57 edit_{$field} note filter YES 1
58 import_upload_size_limit filter YES 1
59 get_nested_categories filter YES 1
60 get_tags filter YES 1
61 tags_to_edit filter YES 1
62 nag_posts_limit filter YES 1
63 dashboard_secondary_link filter YES 1
64 dashboard_secondary_title filter YES 1
65 dashboard_secondary_feed filter YES 1
66 dashboard_primary_title filter YES 1
67 dashboard_primary_feed filter YES 1
68 dashboard_incoming_links_link filter YES 1
69 dashboard_incoming_links_feed filter YES 1
70 admin_body_class filter YES 1
71 wp_admin_css filter YES 1
72 edit_post_{$field} note filter YES 1
73 {$field_no_prefix}_edit_pre note filter YES 1
74 allowed_redirect_hosts filter YES 1
75 wp_mail_charset filter YES 1
76 wp_mail_content_type filter YES 1
77 wp_mail_from_name filter YES 1
78 edit_comment_link filter YES 1
79 get_edit_comment_link filter YES 1
80 edit_post_link filter YES 1
81 get_edit_post_link filter YES 1
82 pre_kses filter YES 1
83 update_footer filter YES 1
84 wp_admin_css_uri filter YES 1
85 the_search_query filter YES 1
86 get_search_query filter YES 1
87 single_tag_title filter YES 1
88 wp_parse_str filter YES 1
89 sanitize_option_{$option} note filter YES 1
90 clean_url filter YES 1
91 tag_feed_link filter YES 1
92 the_permalink_rss filter YES 1
93 get_comment 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.