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