Welcome, visitor! Log in
 

New plugin hooks in WordPress 3.5

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 after_theme_row_{$stylesheet} note action YES 1
2 attachment_submitbox_misc_actions action YES 1
3 blog_option_{$option} note filter YES 1
4 bulk_actions-{$this->screen->id} note filter YES 1
5 cron_request filter YES 1
6 domain_exists filter YES 1
7 do_parse_request filter YES 1
8 edit_form_after_editor action YES 1
9 edit_form_after_title action YES 1
10 exit_on_http_head filter YES 1
11 export_args filter YES 1
12 export_filters action YES 1
13 get_edit_user_link filter YES 1
14 image_editor_default_mime_type filter YES 1
15 image_editor_save_pre filter YES 1
16 is_email_address_unsafe filter YES 1
17 load-importer-{$importer} note action YES 1
18 login_body_class filter YES 1
19 make_delete_blog action YES 1
20 make_undelete_blog action YES 1
21 manage_taxonomies_for_attachment_columns filter YES 1
22 manage_taxonomies_for_{$post_type}_columns note filter YES 1
23 manage_{$this->screen->id}_sortable_columns note filter YES 1
24 manage_{$this->screen->taxonomy}_custom_column note filter YES 1
25 media_view_settings filter YES 1
26 media_view_strings filter YES 1
27 mime_types filter YES 1
28 network_sites_updated_message_{$updated} note filter YES 1
29 nonce_user_logged_out filter YES 1
30 oembed_fetch_url filter YES 1
31 option_enable_xmlrpc filter YES 1
32 post_link_category filter YES 1
33 post_type_labels_{$post_type} note filter YES 1
34 pre_get_space_used filter YES 1
35 pre_http_send_through_proxy filter YES 1
36 pre_option_enable_xmlrpc filter YES 1
37 print_media_templates action YES 1
38 restrict_manage_comments action YES 1
39 restrict_manage_users action YES 1
40 theme_action_links_{$stylesheet} note filter YES 1
41 twentytwelve_attachment_size filter YES 1
42 twentytwelve_author_bio_avatar_size filter YES 1
43 twentytwelve_credits action YES 1
44 twentytwelve_status_avatar filter YES 1
45 upload_ui_over_quota action YES 1
46 validate_password_reset action YES 1
47 views_{$this->screen->id} note filter YES 1
48 welcome_panel action YES 1
49 wp_checkdate filter YES 1
50 wp_editor_set_quality filter YES 1
51 wp_enqueue_media action YES 1
52 wp_get_update_data filter YES 1
53 wp_image_editors filter YES 1
54 wp_image_editor_before_change filter YES 1
55 wp_kses_allowed_html filter YES 1
56 wp_prepare_attachment_for_js filter YES 1
57 wp_save_image_editor_file filter YES 1
58 xmlrpc_default_revision_fields filter YES 1
59 xmlrpc_default_user_fields filter YES 1
60 xmlrpc_enabled filter YES 1
61 xmlrpc_login_error filter YES 1
62 xmlrpc_prepare_user filter YES 1
63 xmlrpc_rsd_apis action YES 1
64 {$adjacent}_image_link 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.