Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 2.8

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 atompub_create_post action YES 1
2 atompub_put_post action YES 1
3 pre_comment_on_post action YES 1
4 login_form_{$action} note action YES 1
5 muplugins_loaded action YES 1
6 wp_ajax_nopriv_{$action} note action YES 1
7 load-widgets-php action YES 1
8 widgets-php action YES 1
9 admin_print_footer_scripts action YES 1
10 admin_footer-{$hook_suffix} note action YES 1
11 admin_enqueue_scripts action YES 1
12 after_db_upgrade action YES 1
13 install_themes_pre_{$tab} note action YES 1
14 install_themes_{$tab} note action YES 1
15 tool_box action YES 1
16 update-custom_{$action} note action YES 1
17 manage_comments_custom_column action YES 1
18 install_themes_table_header action YES 1
19 in_plugin_update_message-{$file} note action YES 1
20 user_profile_update_errors action YES 1
21 deleted_user action YES 1
22 wp_insert_comment action YES 1
23 atom_comments_ns action YES 1
24 comments_atom_head action YES 1
25 rss2_comments_ns action YES 1
26 http_transport_get_debug action YES 1
27 http_transport_post_debug action YES 1
28 http_api_debug action YES 1
29 http_api_curl action YES 1
30 auth_redirect action YES 1
31 the_post action YES 1
32 permalink_structure_changed action YES 1
33 wp_print_footer_scripts action YES 1
34 wp_enqueue_scripts action YES 1
35 set_object_terms action YES 1
36 in_widget_form action YES 1
37 comment_cookie_lifetime filter YES 1
38 retrieve_password_title filter YES 1
39 retrieve_password_message filter YES 1
40 password_reset_title filter YES 1
41 password_reset_message filter YES 1
42 wp_mail_original_content filter YES 1
43 admin_footer_text filter YES 1
44 edit_categories_per_page filter YES 1
45 page_stati filter YES 1
46 edit_tags_per_page filter YES 1
47 custom_menu_order filter YES 1
48 menu_order filter YES 1
49 editable_extensions filter YES 1
50 plugins_per_page filter YES 1
51 plugin_row_meta filter YES 1
52 install_themes_tabs filter YES 1
53 install_themes_nonmenu_tabs filter YES 1
54 theme_action_links filter YES 1
55 media_row_actions filter YES 1
56 user_aim_label filter YES 1
57 user_yim_label filter YES 1
58 user_jabber_label filter YES 1
59 additional_capabilities_display filter YES 1
60 upgrader_pre_install filter YES 1
61 upgrader_source_selection filter YES 1
62 upgrader_clear_destination filter YES 1
63 upgrader_post_install filter YES 1
64 install_theme_complete_actions filter YES 1
65 update_theme_complete_actions filter YES 1
66 image_send_to_editor_url filter YES 1
67 audio_send_to_editor_url filter YES 1
68 video_send_to_editor_url filter YES 1
69 file_send_to_editor_url filter YES 1
70 {$callback} note filter YES 1
71 documentation_ignore_functions filter YES 1
72 codepress_supported_langs filter YES 1
73 set-screen-option filter YES 1
74 iis7_supports_permalinks filter YES 1
75 edit_posts_per_page filter YES 1
76 terms_to_edit filter YES 1
77 cat_row_actions filter YES 1
78 manage_categories_custom_column filter YES 1
79 link_cat_row_actions filter YES 1
80 manage_link_categories_custom_column filter YES 1
81 tag_row_actions filter YES 1
82 manage_{$taxonomy}_custom_column note filter YES 1
83 post_row_actions filter YES 1
84 page_row_actions filter YES 1
85 user_row_actions filter YES 1
86 manage_users_custom_column filter YES 1
87 display_post_states filter YES 1
88 default_contextual_help filter YES 1
89 screen_layout_columns filter YES 1
90 themes_api_args filter YES 1
91 themes_api filter YES 1
92 themes_api_result filter YES 1
93 theme_install_action_links filter YES 1
94 editable_roles filter YES 1
95 the_modified_author filter YES 1
96 get_the_author_{$field} note filter YES 1
97 the_author_{$field} note filter YES 1
98 map_meta_cap filter YES 1
99 tag_cloud_sort filter YES 1
100 wp_feed_cache_transient_lifetime filter YES 1
101 wp_headers filter YES 1
102 page_css_class filter YES 1
103 get_comment_link filter YES 1
104 https_local_ssl_verify filter YES 1
105 widget_pages_args filter YES 1
106 widget_archives_dropdown_args filter YES 1
107 widget_archives_args filter YES 1
108 widget_categories_dropdown_args filter YES 1
109 widget_categories_args filter YES 1
110 widget_tag_cloud_args filter YES 1
111 feed_content_type filter YES 1
112 no_texturize_tags filter YES 1
113 no_texturize_shortcodes filter YES 1
114 sanitize_file_name_chars filter YES 1
115 sanitize_file_name filter YES 1
116 sanitize_html_class filter YES 1
117 is_email filter YES 1
118 sanitize_email filter YES 1
119 wp_trim_excerpt filter YES 1
120 esc_html filter YES 1
121 date_i18n filter YES 1
122 number_format_i18n filter YES 1
123 pre_transient_{$transient} note filter YES 1
124 transient_{$transient} note filter YES 1
125 nocache_headers filter YES 1
126 explain_nonce_{$action} note filter YES 1
127 load_default_widgets filter YES 1
128 timezone_support filter YES 1
129 logout_url filter YES 1
130 login_url filter YES 1
131 lostpassword_url filter YES 1
132 get_post_modified_time filter YES 1
133 block_local_requests filter YES 1
134 https_ssl_verify filter YES 1
135 gettext_with_context filter YES 1
136 ngettext_with_context filter YES 1
137 post_comments_feed_link_html filter YES 1
138 {$adjacent}_post_rel_link note filter YES 1
139 {$boundary}_post_rel_link note filter YES 1
140 index_rel_link filter YES 1
141 parent_post_rel_link filter YES 1
142 admin_url filter YES 1
143 includes_url filter YES 1
144 content_url filter YES 1
145 plugins_url filter YES 1
146 wp_get_attachment_image_attributes filter YES 1
147 authenticate filter YES 1
148 auth_cookie_expiration filter YES 1
149 comment_moderation_headers filter YES 1
150 protected_title_format filter YES 1
151 private_title_format filter YES 1
152 the_content_more_link filter YES 1
153 body_class filter YES 1
154 hierarchical_post_types filter YES 1
155 comment_feed_orderby filter YES 1
156 comment_feed_limits filter YES 1
157 iis7_url_rewrite_rules filter YES 1
158 print_head_scripts filter YES 1
159 print_footer_scripts filter YES 1
160 print_admin_styles filter YES 1
161 get_terms_orderby filter YES 1
162 get_terms_fields filter YES 1
163 wp_get_object_terms filter YES 1
164 core_version_check_locale filter YES 1
165 widget_display_callback filter YES 1
166 widget_update_callback filter YES 1
167 widget_form_callback 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.