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