Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 4.0

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 admin_post action YES 1
2 human_time_diff filter YES 1
3 wp_spaces_regexp filter YES 1
4 wp_title_parts filter YES 1
5 wp_embed_handler_youtube filter YES 1
6 session_token_manager filter YES 1
7 attach_session_information filter YES 1
8 admin_post_nopriv action YES 1
9 admin_post_nopriv_{$action} note action YES 1
10 run_wptexturize filter YES 1
11 admin_post_{$action} note action YES 1
12 delete_user_form action YES 1
13 customize_render_panel action YES 1
14 customize_render_panel_{$this->id} note action YES 1
15 rss_tag_pre action YES 1
16 auth_cookie_bad_session_token action YES 1
17 pre_get_users action YES 1
18 wp_editor_expand filter YES 1
19 wp_list_comments_args filter YES 1
20 oembed_ttl filter YES 1
21 wp_editor_settings filter YES 1
22 customize_control_active filter YES 1
23 oembed_remote_get_args filter YES 1
24 xmlrpc_element_limit filter YES 1
25 akismet_get_api_key filter YES 1
26 akismet_spam_check_warning_link_text filter YES 1
27 translations_api_result filter YES 1
28 translations_api filter YES 1
29 edit_{$post_type}_per_page note filter YES 1
30 {$action}_prefilter note filter YES 1
31 wxr_export_skip_commentmeta filter YES 1
32 async_update_translation filter YES 1
33 term_search_min_chars 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.