Welcome, visitor! Log in
 

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.

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