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