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