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 | activate_tinymce_for_media_description | filter | YES | 1 | |
2 | deleted_post_{$post->post_type} | note | action | YES | 1 |
3 | delete_post_{$post->post_type} | note | action | YES | 1 |
4 | frontpage_template_hierarchy | filter | YES | 1 | |
5 | index_template_hierarchy | filter | YES | 1 | |
6 | interactivity_process_directives | filter | YES | 1 | |
7 | lang_dir_for_domain | filter | YES | 1 | |
8 | page_template_hierarchy | filter | YES | 1 | |
9 | site_status_autoloaded_options_action_to_perform | filter | YES | 1 | |
10 | site_status_autoloaded_options_limit_description | filter | YES | 1 | |
11 | site_status_autoloaded_options_size_limit | filter | YES | 1 | |
12 | wp_autoload_values_to_autoload | filter | YES | 1 | |
13 | wp_default_autoload_value | filter | YES | 1 | |
14 | wp_max_autoloaded_option_size | filter | YES | 1 | |
15 | wp_theme_files_cache_ttl | filter | YES | 1 | |
16 | {$template_type}_template_hierarchy | note | 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.