WP hooks navigation: Home/browse • Actions index • Filters index
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 | http_api_transports | filter | DEPRECATED | |
2 | twentytwentyone_html_classes | filter | DEPRECATED | |
3 | twenty_twenty_one_attachment_size | filter | DEPRECATED | |
4 | twenty_twenty_one_can_show_post_thumbnail | filter | DEPRECATED | |
5 | twenty_twenty_one_content_width | filter | DEPRECATED | |
6 | twenty_twenty_one_get_localized_font_family_elements | filter | DEPRECATED | |
7 | twenty_twenty_one_get_localized_font_family_types | filter | DEPRECATED | |
8 | twenty_twenty_one_social_icons_map | filter | DEPRECATED | |
9 | twenty_twenty_one_starter_content | filter | DEPRECATED | |
10 | twenty_twenty_one_svg_icons_social | filter | DEPRECATED | |
11 | twenty_twenty_one_svg_icons_{$group} | note | filter | DEPRECATED |
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.