WP hooks navigation: Home/browse • Actions index • Filters index
Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, you need to look in all the files that apply the hook. Click the "details" link next to any hook for more information.
Hook | Type | New? | File | ||
---|---|---|---|---|---|
1 | wp_list_categories | filter | no | wp-includes/category-template.php | |
2 | the_terms | filter | no | wp-includes/category-template.php | |
3 | term_links-{$taxonomy} | note | filter | no | wp-includes/category-template.php |
4 | get_the_terms | filter | no | wp-includes/category-template.php | |
5 | the_tags | filter | no | wp-includes/category-template.php | |
6 | get_the_tags | filter | no | wp-includes/category-template.php | |
7 | wp_generate_tag_cloud | filter | no | wp-includes/category-template.php | |
8 | wp_generate_tag_cloud_data | filter | no | wp-includes/category-template.php | |
9 | tag_cloud_sort | filter | no | wp-includes/category-template.php | |
10 | wp_tag_cloud | filter | no | wp-includes/category-template.php | |
11 | get_the_categories | filter | no | wp-includes/category-template.php | |
12 | wp_dropdown_cats | filter | no | wp-includes/category-template.php | |
13 | list_cats | filter | no | wp-includes/category-template.php | |
14 | list_cats | filter | no | wp-includes/category-template.php | |
15 | list_cats | filter | no | wp-includes/category-template.php | |
16 | the_category | filter | no | wp-includes/category-template.php | |
17 | the_category | filter | no | wp-includes/category-template.php | |
18 | the_category_list | filter | no | wp-includes/category-template.php | |
19 | the_category | filter | no | wp-includes/category-template.php |
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.