Welcome, visitor! Log in
 

New plugin hooks in WordPress 4.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 admin_post_thumbnail_size filter YES 1
2 after_password_reset action YES 1
3 after_signup_site action YES 1
4 after_signup_user action YES 1
5 attachment_updated action YES 1
6 before_signup_header action YES 1
7 clean_user_cache action YES 1
8 comment_excerpt_length filter YES 1
9 comment_form_fields filter YES 1
10 content_pagination filter YES 1
11 customize_loaded_components filter YES 1
12 customize_post_value_set action YES 1
13 customize_post_value_set_{$setting_id} note action YES 1
14 customize_value_{$id_base} note filter YES 1
15 dashboard_recent_drafts_query_args filter YES 1
16 dashboard_secondary_items filter YES 1
17 default_hidden_columns filter YES 1
18 deleted_plugin action YES 1
19 delete_plugin action YES 1
20 delete_widget action YES 1
21 document_title_parts filter YES 1
22 document_title_separator filter YES 1
23 do_feed_{$feed} note action YES 1
24 duplicate_comment_id filter YES 1
25 edit_user_created_user action YES 1
26 embed_content action YES 1
27 embed_content_meta action YES 1
28 embed_footer action YES 1
29 embed_head action YES 1
30 embed_html filter YES 1
31 embed_site_title_html filter YES 1
32 embed_template filter YES 1
33 embed_thumbnail_image_shape filter YES 1
34 embed_thumbnail_image_size filter YES 1
35 enclosure_links filter YES 1
36 enqueue_embed_scripts action YES 1
37 expiration_of_site_transient_{$transient} note filter YES 1
38 expiration_of_transient_{$transient} note filter YES 1
39 export_wp_filename filter YES 1
40 feed_links_show_comments_feed filter YES 1
41 feed_links_show_posts_feed filter YES 1
42 found_comments_query filter YES 1
43 get_header_image_tag filter YES 1
44 get_page_of_comment filter YES 1
45 get_page_uri filter YES 1
46 get_post_status filter YES 1
47 get_role_list filter YES 1
48 get_sample_permalink filter YES 1
49 get_site_icon_url filter YES 1
50 get_terms_defaults filter YES 1
51 get_{$adjacent}_post_excluded_terms note filter YES 1
52 hidden_columns filter YES 1
53 illegal_user_logins filter YES 1
54 image_get_intermediate_size filter YES 1
55 insert_user_meta filter YES 1
56 invite_user action YES 1
57 manage_posts_extra_tablenav action YES 1
58 max_srcset_image_width filter YES 1
59 mejs_settings filter YES 1
60 ms_network_not_found action YES 1
61 navigation_markup_template filter YES 1
62 nav_menu_item_args filter YES 1
63 nav_menu_item_title filter YES 1
64 network_admin_plugin_action_links filter YES 1
65 network_admin_plugin_action_links_{$plugin_file} note filter YES 1
66 network_site_new_created_user action YES 1
67 network_site_users_created_user action YES 1
68 network_user_new_created_user action YES 1
69 notify_moderator filter YES 1
70 notify_post_author filter YES 1
71 oembed_default_width filter YES 1
72 oembed_discovery_links filter YES 1
73 oembed_endpoint_url filter YES 1
74 oembed_min_max_width filter YES 1
75 oembed_request_post_id filter YES 1
76 oembed_response_data filter YES 1
77 old_slug_redirect_url filter YES 1
78 page_attributes_meta_box_template action YES 1
79 postmeta_form_keys filter YES 1
80 post_edit_category_parent_dropdown_args filter YES 1
81 post_embed_url filter YES 1
82 post_submitbox_minor_actions action YES 1
83 pre_auto_update action YES 1
84 pre_delete_post filter YES 1
85 pre_get_document_title filter YES 1
86 pre_get_lastpostmodified filter YES 1
87 register_new_user action YES 1
88 register_post_type_args filter YES 1
89 register_taxonomy_args filter YES 1
90 respond_link filter YES 1
91 rest_api_init action YES 1
92 rest_authentication_errors filter YES 1
93 rest_dispatch_request filter YES 1
94 rest_enabled filter YES 1
95 rest_endpoints filter YES 1
96 rest_endpoints_description filter YES 1
97 rest_envelope_response filter YES 1
98 rest_index filter YES 1
99 rest_jsonp_enabled filter YES 1
100 rest_namespace_index filter YES 1
101 rest_post_dispatch filter YES 1
102 rest_pre_dispatch filter YES 1
103 rest_pre_serve_request filter YES 1
104 rest_request_parameter_order filter YES 1
105 rest_route_data filter YES 1
106 rest_send_nocache_headers filter YES 1
107 rest_url filter YES 1
108 rest_url_prefix filter YES 1
109 screen_options_show_submit filter YES 1
110 show_network_active_plugins filter YES 1
111 signup_get_available_languages filter YES 1
112 submenu_file filter YES 1
113 taxonomy_labels_{$taxonomy} note filter YES 1
114 the_category_list filter YES 1
115 the_excerpt_embed filter YES 1
116 twentysixteen_attachment_size filter YES 1
117 twentysixteen_author_avatar_size filter YES 1
118 twentysixteen_author_bio_avatar_size filter YES 1
119 twentysixteen_color_schemes filter YES 1
120 twentysixteen_content_width filter YES 1
121 twentysixteen_credits action YES 1
122 twentysixteen_custom_background_args filter YES 1
123 twentysixteen_custom_header_args filter YES 1
124 twentysixteen_custom_header_sizes filter YES 1
125 update_right_now_text filter YES 1
126 users_list_table_query_args filter YES 1
127 user_profile_picture_description filter YES 1
128 view_mode_post_types filter YES 1
129 wp_add_nav_menu_item action YES 1
130 wp_calculate_image_sizes filter YES 1
131 wp_calculate_image_srcset filter YES 1
132 wp_dropdown_users_args filter YES 1
133 wp_http_ixr_client_headers filter YES 1
134 wp_mail_failed action YES 1
135 wp_post_revision_title_expanded filter YES 1
136 wp_prepare_revision_for_js filter YES 1
137 wp_rest_server_class filter YES 1
138 wp_theme_editor_filetypes filter YES 1
139 wp_verify_nonce_failed action YES 1
140 xmlrpc_chunk_parsing_size 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.