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