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