Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 3.4

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 comment_remove_author_url action YES 1
2 customize_render_section action YES 1
3 customize_save action YES 1
4 customize_preview_init action YES 1
5 customize_register action YES 1
6 stop_previewing_theme action YES 1
7 start_previewing_theme action YES 1
8 customize_render_control_{$this->id} note action YES 1
9 customize_render_control action YES 1
10 comment_add_author_url action YES 1
11 customize_render_section_{$this->id} note action YES 1
12 customize_controls_print_footer_scripts action YES 1
13 customize_controls_print_scripts action YES 1
14 customize_controls_print_styles action YES 1
15 customize_controls_enqueue_scripts action YES 1
16 customize_controls_init action YES 1
17 set_comment_cookies action YES 1
18 current_theme_supports-{$feature} note filter YES 1
19 posts_request_ids filter YES 1
20 split_the_query filter YES 1
21 xmlrpc_call_success_wp_newComment action YES 1
22 refresh_blog_details action YES 1
23 deleted_{$meta_type}meta note action YES 1
24 delete_{$meta_type}meta note action YES 1
25 xmlrpc_call_success_mw_newMediaObject action YES 1
26 xmlrpc_call_success_mw_editPost action YES 1
27 xmlrpc_call_success_mw_newPost action YES 1
28 xmlrpc_call_success_blogger_deletePost action YES 1
29 xmlrpc_call_success_blogger_editPost action YES 1
30 xmlrpc_call_success_blogger_newPost action YES 1
31 default_site_option_{$option} note filter YES 1
32 xmlrpc_call_success_wp_editComment action YES 1
33 xmlrpc_call_success_wp_deleteComment action YES 1
34 xmlrpc_call_success_wp_deleteCategory action YES 1
35 xmlrpc_call_success_wp_newCategory action YES 1
36 xmlrpc_call_success_wp_deletePage action YES 1
37 customize_update_{$this->type} note action YES 1
38 customize_save_{$this->id_data[base]} note action YES 1
39 customize_preview_{$this->id} note action YES 1
40 customize_value_{$this->id_data[base]} note filter YES 1
41 xmlrpc_prepare_comment filter YES 1
42 xmlrpc_prepare_page filter YES 1
43 xmlrpc_prepare_media_item filter YES 1
44 xmlrpc_prepare_post_type filter YES 1
45 xmlrpc_prepare_post filter YES 1
46 xmlrpc_prepare_term filter YES 1
47 xmlrpc_prepare_taxonomy filter YES 1
48 wp_cache_themes_persistently filter YES 1
49 customize_sanitize_js_{$this->id} note filter YES 1
50 xmlrpc_wp_insert_post_data filter YES 1
51 customize_sanitize_{$this->id} note filter YES 1
52 wp_http_cookie_value filter YES 1
53 akismet_delete_commentmeta_interval filter YES 1
54 akismet_ua filter YES 1
55 post_types_to_delete_with_user filter YES 1
56 wp_terms_checklist_args filter YES 1
57 theme_install_actions filter YES 1
58 autocomplete_users_for_site_admins filter YES 1
59 customize_allowed_urls filter YES 1
60 wp_die_xmlrpc_handler filter YES 1
61 default_option_{$option} note filter YES 1
62 plupload_default_params filter YES 1
63 plupload_default_settings filter YES 1
64 image_resize_dimensions filter YES 1
65 set_url_scheme filter YES 1
66 allowed_http_origin filter YES 1
67 allowed_http_origins filter YES 1
68 http_origin filter YES 1
69 wp_die_app_handler filter YES 1
70 wp_atom_server_class filter YES 1
71 wp_die_ajax_handler filter YES 1
72 sanitize_trackback_urls filter YES 1
73 extra_theme_headers filter YES 1
74 widget_comments_args filter YES 1
75 widget_posts_args filter YES 1
76 xmlrpc_default_posttype_fields filter YES 1
77 xmlrpc_default_taxonomy_fields filter YES 1
78 xmlrpc_default_post_fields 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.