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