Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Deprecated plugin hooks in WordPress 5.8

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 allowed_block_types filter DEPRECATED
2 block_categories filter DEPRECATED
3 block_editor_preload_paths filter DEPRECATED
4 block_editor_settings filter DEPRECATED
5 user_confirmed_action_email_content filter DEPRECATED
6 user_erasure_complete_email_headers filter DEPRECATED
7 user_erasure_complete_email_subject filter DEPRECATED
8 {$tag} note action DEPRECATED
9 {$tag} note 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.