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