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