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 | New? | Instances | ||
---|---|---|---|---|---|
1 | add_trashed_suffix_to_trashed_posts | filter | YES | 1 | |
2 | admin_email_remind_interval | filter | YES | 1 | |
3 | do_favicon | action | YES | 1 | |
4 | do_faviconico | action | YES | 1 | |
5 | rest_{$this->post_type}_item_schema | note | filter | YES | 1 |
6 | user_erasure_complete_email_headers | filter | YES | 1 | |
7 | user_request_action_email_headers | filter | YES | 1 | |
8 | user_request_confirmed_email_headers | filter | YES | 1 | |
9 | wp_nav_menu_item_custom_fields | action | YES | 1 | |
10 | wp_nav_menu_item_custom_fields_customize_template | action | YES | 1 | |
11 | wp_privacy_additional_user_profile_data | filter | YES | 1 | |
12 | wp_privacy_personal_data_email_headers | filter | YES | 1 |
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.