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 | added_term_relationship | action | no | wp-includes/taxonomy.php | |
2 | add_term_relationship | action | no | wp-includes/taxonomy.php | |
3 | category_link | filter | no | wp-includes/taxonomy.php | |
4 | clean_object_term_cache | action | no | wp-includes/taxonomy.php | |
5 | clean_taxonomy_cache | action | no | wp-includes/taxonomy.php | |
6 | clean_term_cache | action | no | wp-includes/taxonomy.php | |
7 | created_term | action | no | wp-includes/taxonomy.php | |
8 | created_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
9 | create_term | action | no | wp-includes/taxonomy.php | |
10 | create_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
11 | deleted_term_relationships | action | no | wp-includes/taxonomy.php | |
12 | deleted_term_taxonomy | action | no | wp-includes/taxonomy.php | |
13 | delete_term | action | no | wp-includes/taxonomy.php | |
14 | delete_term_relationships | action | no | wp-includes/taxonomy.php | |
15 | delete_term_taxonomy | action | no | wp-includes/taxonomy.php | |
16 | delete_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
17 | edited_term | action | no | wp-includes/taxonomy.php | |
18 | edited_terms | action | no | wp-includes/taxonomy.php | |
19 | edited_terms | action | no | wp-includes/taxonomy.php | |
20 | edited_term_taxonomies | action | no | wp-includes/taxonomy.php | |
21 | edited_term_taxonomy | action | no | wp-includes/taxonomy.php | |
22 | edited_term_taxonomy | action | no | wp-includes/taxonomy.php | |
23 | edited_term_taxonomy | action | no | wp-includes/taxonomy.php | |
24 | edited_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
25 | edit_term | action | no | wp-includes/taxonomy.php | |
26 | edit_terms | action | no | wp-includes/taxonomy.php | |
27 | edit_terms | action | no | wp-includes/taxonomy.php | |
28 | edit_term_taxonomies | action | no | wp-includes/taxonomy.php | |
29 | edit_term_taxonomy | action | no | wp-includes/taxonomy.php | |
30 | edit_term_taxonomy | action | no | wp-includes/taxonomy.php | |
31 | edit_term_taxonomy | action | no | wp-includes/taxonomy.php | |
32 | edit_term_{$field} | note | filter | no | wp-includes/taxonomy.php |
33 | edit_{$taxonomy} | note | action | no | wp-includes/taxonomy.php |
34 | edit_{$taxonomy}_{$field} | note | filter | no | wp-includes/taxonomy.php |
35 | get_ancestors | filter | no | wp-includes/taxonomy.php | |
36 | get_ancestors | filter | no | wp-includes/taxonomy.php | |
37 | get_object_terms | filter | no | wp-includes/taxonomy.php | |
38 | get_term | filter | no | wp-includes/taxonomy.php | |
39 | get_terms | filter | no | wp-includes/taxonomy.php | |
40 | get_{$taxonomy} | note | filter | no | wp-includes/taxonomy.php |
41 | post_format_rewrite_base | filter | no | wp-includes/taxonomy.php | |
42 | pre_category_nicename | filter | no | wp-includes/taxonomy.php | |
43 | pre_delete_term | action | no | wp-includes/taxonomy.php | |
44 | pre_insert_term | filter | no | wp-includes/taxonomy.php | |
45 | pre_term_link | filter | no | wp-includes/taxonomy.php | |
46 | pre_term_{$field} | note | filter | no | wp-includes/taxonomy.php |
47 | pre_{$taxonomy}_{$field} | note | filter | no | wp-includes/taxonomy.php |
48 | registered_taxonomy | action | no | wp-includes/taxonomy.php | |
49 | registered_taxonomy_for_object_type | action | YES | wp-includes/taxonomy.php | |
50 | set_object_terms | action | no | wp-includes/taxonomy.php | |
51 | split_shared_term | action | no | wp-includes/taxonomy.php | |
52 | tag_link | filter | no | wp-includes/taxonomy.php | |
53 | taxonomy_labels_{$taxonomy} | note | filter | no | wp-includes/taxonomy.php |
54 | term_id_filter | filter | no | wp-includes/taxonomy.php | |
55 | term_id_filter | filter | no | wp-includes/taxonomy.php | |
56 | term_link | filter | no | wp-includes/taxonomy.php | |
57 | term_{$field} | note | filter | no | wp-includes/taxonomy.php |
58 | term_{$field}_rss | note | filter | no | wp-includes/taxonomy.php |
59 | unregistered_taxonomy | action | no | wp-includes/taxonomy.php | |
60 | unregistered_taxonomy_for_object_type | action | YES | wp-includes/taxonomy.php | |
61 | wp_get_object_terms | filter | no | wp-includes/taxonomy.php | |
62 | wp_get_object_terms_args | filter | no | wp-includes/taxonomy.php | |
63 | wp_insert_term_data | filter | no | wp-includes/taxonomy.php | |
64 | wp_insert_term_duplicate_term_check | filter | YES | wp-includes/taxonomy.php | |
65 | wp_unique_term_slug | filter | no | wp-includes/taxonomy.php | |
66 | wp_unique_term_slug_is_bad_slug | filter | no | wp-includes/taxonomy.php | |
67 | wp_update_term_data | filter | no | wp-includes/taxonomy.php | |
68 | wp_update_term_parent | filter | no | wp-includes/taxonomy.php | |
69 | {$taxonomy}_{$field} | note | filter | no | wp-includes/taxonomy.php |
70 | {$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.