Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

New plugin hooks in WordPress 6.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 edit_custom_thumbnail_sizes filter YES 1
2 media_date_column_time filter YES 1
3 plugin_install_description filter YES 1
4 pre_wp_filesize filter YES 1
5 registered_post_type_{$post_type} note action YES 1
6 registered_taxonomy_{$taxonomy} note action YES 1
7 register_{$post_type}_post_type_args note filter YES 1
8 register_{$taxonomy}_taxonomy_args note filter YES 1
9 retrieve_password_notification_email filter YES 1
10 send_retrieve_password_email filter YES 1
11 term_exists_default_query_args filter YES 1
12 the_author_link filter YES 1
13 wp_admin_bar_show_site_icons filter YES 1
14 wp_content_img_tag filter YES 1
15 wp_filesize filter YES 1
16 wp_is_large_user_count 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.