Welcome, visitor! Log in
 

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.

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