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 | get_{$taxonomy} | note | filter | no | wp-includes/taxonomy.php |
2 | edited_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
3 | edited_term | action | no | wp-includes/taxonomy.php | |
4 | edit_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
5 | edit_term | action | no | wp-includes/taxonomy.php | |
6 | created_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
7 | created_term | action | no | wp-includes/taxonomy.php | |
8 | create_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
9 | create_term | action | no | wp-includes/taxonomy.php | |
10 | delete_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
11 | term_id_filter | filter | no | wp-includes/taxonomy.php | |
12 | term_id_filter | filter | no | wp-includes/taxonomy.php | |
13 | {$taxonomy}_{$field} | note | filter | no | wp-includes/taxonomy.php |
14 | term_{$field} | note | filter | no | wp-includes/taxonomy.php |
15 | term_{$field}_rss | note | filter | no | wp-includes/taxonomy.php |
16 | pre_category_nicename | filter | no | wp-includes/taxonomy.php | |
17 | get_term | filter | no | wp-includes/taxonomy.php | |
18 | get_terms | filter | no | wp-includes/taxonomy.php | |
19 | pre_{$taxonomy}_{$field} | note | filter | no | wp-includes/taxonomy.php |
20 | pre_term_{$field} | note | filter | no | wp-includes/taxonomy.php |
21 | edit_{$taxonomy}_{$field} | note | filter | no | wp-includes/taxonomy.php |
22 | edit_term_{$field} | note | filter | no | wp-includes/taxonomy.php |
23 | get_terms | filter | no | wp-includes/taxonomy.php | |
24 | get_terms | filter | no | wp-includes/taxonomy.php | |
25 | list_terms_exclusions | filter | no | wp-includes/taxonomy.php | |
26 | clean_term_cache | action | YES | wp-includes/taxonomy.php | |
27 | clean_object_term_cache | action | YES | wp-includes/taxonomy.php | |
28 | delete_term | action | YES | wp-includes/taxonomy.php | |
29 | taxonomy_template | filter | YES | wp-includes/taxonomy.php | |
30 | term_link | filter | YES | wp-includes/taxonomy.php | |
31 | {$taxonomy}_{$field}_rss | note | filter | YES | wp-includes/taxonomy.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.