Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 2.7

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 add_menu_classes filter YES 1
2 add_tag_form action YES 1
3 admin_comment_types_dropdown filter YES 1
4 admin_head-{$hook_suffix} note action YES 1
5 admin_print_scripts-{$hook_suffix} note action YES 1
6 admin_print_styles-{$hook_suffix} note action YES 1
7 after_plugin_row_{$plugin_file} note action YES 1
8 allow_password_reset filter YES 1
9 auth_cookie_bad_hash action YES 1
10 auth_cookie_bad_username action YES 1
11 auth_cookie_expired action YES 1
12 auth_cookie_malformed action YES 1
13 auth_cookie_valid action YES 1
14 bulk_edit_custom_box action YES 1
15 cancel_comment_reply_link filter YES 1
16 clear_auth_cookie action YES 1
17 comment_class filter YES 1
18 comment_reply_link filter YES 1
19 comment_{$new_status}_{$comment->comment_type} note action YES 1
20 comment_{$old_status}_to_{$new_status} note action YES 1
21 contextual_help filter YES 1
22 contextual_help_list filter YES 1
23 date_formats filter YES 1
24 disable_captions filter YES 1
25 edit_bookmark_link filter YES 1
26 edit_tag_link filter YES 1
27 edit_user_profile_update action YES 1
28 excerpt_length filter YES 1
29 favorite_actions filter YES 1
30 get_categories_taxonomy filter YES 1
31 get_comments_pagenum_link filter YES 1
32 get_edit_bookmark_link filter YES 1
33 get_edit_tag_link filter YES 1
34 get_search_form action YES 1
35 get_search_form filter YES 1
36 get_usernumposts filter YES 1
37 http_headers_useragent filter YES 1
38 http_request_args filter YES 1
39 http_request_default_port filter YES 1
40 http_request_port filter YES 1
41 http_request_redirection_count filter YES 1
42 http_request_timeout filter YES 1
43 http_request_version filter YES 1
44 install_feedback filter YES 1
45 install_plugins_nonmenu_tabs filter YES 1
46 install_plugins_pre_{$tab} note action YES 1
47 install_plugins_table_header action YES 1
48 install_plugins_tabs filter YES 1
49 install_plugins_{$tab} note action YES 1
50 install_plugin_complete_actions filter YES 1
51 login_redirect filter YES 1
52 manage_{$page}_columns note filter YES 1
53 next_comments_link_attributes filter YES 1
54 next_posts_link_attributes filter YES 1
55 personal_options action YES 1
56 plugins_api filter YES 1
57 plugins_api_args filter YES 1
58 plugins_api_result filter YES 1
59 plugin_action_links_{$plugin_file} note filter YES 1
60 plugin_install_action_links filter YES 1
61 post_class filter YES 1
62 post_comments_link filter YES 1
63 post_submitbox_start action YES 1
64 previous_comments_link_attributes filter YES 1
65 previous_posts_link_attributes filter YES 1
66 quick_edit_custom_box action YES 1
67 quick_edit_dropdown_pages_args filter YES 1
68 right_now_table_end action YES 1
69 rss_update_frequency filter YES 1
70 rss_update_period filter YES 1
71 screen_meta_screen filter YES 1
72 sidebars_widgets filter YES 1
73 site_url filter YES 1
74 tagsperpage filter YES 1
75 teeny_mce_before_init filter YES 1
76 teeny_mce_buttons filter YES 1
77 teeny_mce_plugins filter YES 1
78 the_password_form filter YES 1
79 the_preview filter YES 1
80 thread_comments_depth_max filter YES 1
81 time_formats filter YES 1
82 transition_comment_status action YES 1
83 uninstall_{$file} note action YES 1
84 update_plugin_complete_actions filter YES 1
85 use_curl_transport filter YES 1
86 use_fopen_transport filter YES 1
87 use_fsockopen_transport filter YES 1
88 use_http_extension_transport filter YES 1
89 use_streams_transport filter YES 1
90 validate_current_theme filter YES 1
91 whitelist_options filter YES 1
92 wp_comment_reply filter YES 1
93 wp_count_comments filter YES 1
94 wp_get_attachment_link filter YES 1
95 wp_insert_post_data filter YES 1
96 wp_page_menu filter YES 1
97 wp_page_menu_args filter YES 1
98 xmlrpc_allow_anonymous_comments 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.