Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 2.0

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 rss_head action YES 1
2 add_link action YES 1
3 edit_link action YES 1
4 delete_user action YES 1
5 create_category action YES 1
6 edit_category action YES 1
7 rss2_item action YES 1
8 rss2_head action YES 1
9 rss2_ns action YES 1
10 rss_item action YES 1
11 delete_link action YES 1
12 rdf_item action YES 1
13 rdf_header action YES 1
14 rdf_ns action YES 1
15 atom_entry action YES 1
16 atom_head action YES 1
17 atom_ns action YES 1
18 mce_browsers filter YES 1
19 mce_buttons_3 filter YES 1
20 mce_buttons_2 filter YES 1
21 loop_start action YES 1
22 tinymce_before_init action YES 1
23 mce_options action YES 1
24 profile_update action YES 1
25 delete_attachment action YES 1
26 add_attachment action YES 1
27 edit_attachment action YES 1
28 wp_insert_post action YES 1
29 pre_ping action YES 1
30 loop_end action YES 1
31 mce_buttons filter YES 1
32 pre_get_posts action YES 1
33 edit_user_profile action YES 1
34 profile_personal_options action YES 1
35 show_user_profile action YES 1
36 personal_options_update action YES 1
37 deactivate_{$plugin} note action YES 1
38 activate_{$plugin} note action YES 1
39 activity_box_end action YES 1
40 user_has_cap filter YES 1
41 get_enclosed filter YES 1
42 get_pung filter YES 1
43 post_mime_type_pre filter YES 1
44 ping_status_pre filter YES 1
45 comment_status_pre filter YES 1
46 richedit_pre filter YES 1
47 the_content_rss filter YES 1
48 posts_request filter YES 1
49 posts_groupby filter YES 1
50 get_to_ping filter YES 1
51 role_has_cap filter YES 1
52 kubrick_header_display filter YES 1
53 kubrick_header_color filter YES 1
54 kubrick_header_image filter YES 1
55 uploading_iframe_src filter YES 1
56 upload_mimes filter YES 1
57 thumbnail_filename filter YES 1
58 get_editable_authors filter YES 1
59 get_others_drafts filter YES 1
60 attachment_link filter YES 1
61 mce_valid_elements filter YES 1
62 mce_plugins filter YES 1
63 mce_theme filter YES 1
64 prepend_attachment filter YES 1
65 attachment_innerHTML filter YES 1
66 attachment_icon filter YES 1
67 attachment_max_dims filter YES 1
68 icon_dir_uri filter YES 1
69 icon_dir filter YES 1
70 get_users_drafts filter YES 1
71 get_the_modified_time filter YES 1
72 the_modified_time filter YES 1
73 wp_title filter YES 1
74 the_author filter YES 1
75 create_user_query filter YES 1
76 update_user_query filter YES 1
77 upload_dir filter YES 1
78 add_ping 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.