Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Deprecated plugin hooks in WordPress 4.7

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 Renamed?
1 twentyfourteen_featured_posts_before action DEPRECATED
2 twentyfourteen_featured_posts_after action DEPRECATED
3 twentyfourteen_credits action DEPRECATED
4 twentyfourteen_custom_background_args filter DEPRECATED
5 twentyfourteen_get_featured_posts filter DEPRECATED
6 twentyfourteen_attachment_size filter DEPRECATED
7 twentyfourteen_custom_header_args filter DEPRECATED
8 auth_post_meta_{$meta_key} note filter DEPRECATED
9 auth_post_{$post_type}_meta_{$meta_key} note filter DEPRECATED
10 theme_page_templates filter DEPRECATED
11 blog_details filter DEPRECATED
12 rest_enabled filter DEPRECATED

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.