Welcome, visitor! Log in
 

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.

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