Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 2.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 sidebar_admin_setup action YES 1
2 comment_feed_where filter YES 1
3 comment_feed_groupby filter YES 1
4 url_to_postid filter YES 1
5 script_loader_src filter YES 1
6 theme_mod_{$name} note filter YES 1
7 edited_category action YES 1
8 created_category action YES 1
9 deleted_link action YES 1
10 admin_xml_ns action YES 1
11 _admin_menu action YES 1
12 comment_feed_join filter YES 1
13 sidebar_admin_page action YES 1
14 import_done action YES 1
15 comment_atom_entry action YES 1
16 get_sidebar action YES 1
17 phpmailer_init action YES 1
18 deleted_post action YES 1
19 app_publish_post action YES 1
20 comment_loop_start action YES 1
21 widgets_init action YES 1
22 pre_option_{$setting} note filter YES 1
23 link_title filter YES 1
24 xmlrpc_text_filters filter YES 1
25 link_description filter YES 1
26 trackback_url filter YES 1
27 get_bloginfo_rss filter YES 1
28 get_wp_title_rss filter YES 1
29 wp_title_rss filter YES 1
30 rss_enclosure filter YES 1
31 atom_enclosure filter YES 1
32 link_category filter YES 1
33 status_header filter YES 1
34 getarchives_where filter YES 1
35 getarchives_join filter YES 1
36 ngettext filter YES 1
37 user_trailingslashit filter YES 1
38 wp_mail filter YES 1
39 wp_mail_from filter YES 1
40 the_meta_key filter YES 1
41 pub_priv_sql_capability 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.