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.

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