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 | admin_url | filter | no | wp-includes/link-template.php | |
2 | attachment_link | filter | no | wp-includes/link-template.php | |
3 | author_feed_link | filter | no | wp-includes/link-template.php | |
4 | category_feed_link | filter | no | wp-includes/link-template.php | |
5 | content_url | filter | no | wp-includes/link-template.php | |
6 | day_link | filter | no | wp-includes/link-template.php | |
7 | edit_bookmark_link | filter | no | wp-includes/link-template.php | |
8 | edit_comment_link | filter | no | wp-includes/link-template.php | |
9 | edit_post_link | filter | no | wp-includes/link-template.php | |
10 | edit_profile_url | filter | no | wp-includes/link-template.php | |
11 | edit_tag_link | filter | no | wp-includes/link-template.php | |
12 | edit_term_link | filter | no | wp-includes/link-template.php | |
13 | feed_link | filter | no | wp-includes/link-template.php | |
14 | get_avatar_comment_types | filter | no | wp-includes/link-template.php | |
15 | get_avatar_data | filter | no | wp-includes/link-template.php | |
16 | get_avatar_data | filter | no | wp-includes/link-template.php | |
17 | get_avatar_data | filter | no | wp-includes/link-template.php | |
18 | get_avatar_url | filter | no | wp-includes/link-template.php | |
19 | get_comments_pagenum_link | filter | no | wp-includes/link-template.php | |
20 | get_delete_post_link | filter | no | wp-includes/link-template.php | |
21 | get_edit_bookmark_link | filter | no | wp-includes/link-template.php | |
22 | get_edit_comment_link | filter | no | wp-includes/link-template.php | |
23 | get_edit_post_link | filter | no | wp-includes/link-template.php | |
24 | get_edit_tag_link | filter | no | wp-includes/link-template.php | |
25 | get_edit_term_link | filter | no | wp-includes/link-template.php | |
26 | get_edit_user_link | filter | no | wp-includes/link-template.php | |
27 | get_pagenum_link | filter | no | wp-includes/link-template.php | |
28 | get_shortlink | filter | no | wp-includes/link-template.php | |
29 | get_{$adjacent}_post_join | note | filter | no | wp-includes/link-template.php |
30 | get_{$adjacent}_post_sort | note | filter | no | wp-includes/link-template.php |
31 | get_{$adjacent}_post_where | note | filter | no | wp-includes/link-template.php |
32 | home_url | filter | no | wp-includes/link-template.php | |
33 | includes_url | filter | no | wp-includes/link-template.php | |
34 | month_link | filter | no | wp-includes/link-template.php | |
35 | network_admin_url | filter | no | wp-includes/link-template.php | |
36 | network_home_url | filter | no | wp-includes/link-template.php | |
37 | network_site_url | filter | no | wp-includes/link-template.php | |
38 | next_comments_link_attributes | filter | no | wp-includes/link-template.php | |
39 | next_posts_link_attributes | filter | no | wp-includes/link-template.php | |
40 | page_link | filter | no | wp-includes/link-template.php | |
41 | plugins_url | filter | no | wp-includes/link-template.php | |
42 | post_comments_feed_link | filter | no | wp-includes/link-template.php | |
43 | post_comments_feed_link_html | filter | no | wp-includes/link-template.php | |
44 | post_link | filter | no | wp-includes/link-template.php | |
45 | post_link_category | filter | no | wp-includes/link-template.php | |
46 | post_type_archive_feed_link | filter | no | wp-includes/link-template.php | |
47 | post_type_archive_link | filter | no | wp-includes/link-template.php | |
48 | post_type_link | filter | no | wp-includes/link-template.php | |
49 | previous_comments_link_attributes | filter | no | wp-includes/link-template.php | |
50 | previous_posts_link_attributes | filter | no | wp-includes/link-template.php | |
51 | pre_get_avatar_data | filter | no | wp-includes/link-template.php | |
52 | pre_get_shortlink | filter | no | wp-includes/link-template.php | |
53 | pre_post_link | filter | no | wp-includes/link-template.php | |
54 | search_feed_link | filter | no | wp-includes/link-template.php | |
55 | search_feed_link | filter | no | wp-includes/link-template.php | |
56 | search_link | filter | no | wp-includes/link-template.php | |
57 | set_url_scheme | filter | no | wp-includes/link-template.php | |
58 | shortcut_link | filter | no | wp-includes/link-template.php | |
59 | site_url | filter | no | wp-includes/link-template.php | |
60 | tag_feed_link | filter | no | wp-includes/link-template.php | |
61 | taxonomy_feed_link | filter | no | wp-includes/link-template.php | |
62 | the_feed_link | filter | no | wp-includes/link-template.php | |
63 | the_permalink | filter | no | wp-includes/link-template.php | |
64 | the_shortlink | filter | no | wp-includes/link-template.php | |
65 | the_title | filter | no | wp-includes/link-template.php | |
66 | user_admin_url | filter | no | wp-includes/link-template.php | |
67 | user_dashboard_url | filter | no | wp-includes/link-template.php | |
68 | user_trailingslashit | filter | no | wp-includes/link-template.php | |
69 | year_link | filter | no | wp-includes/link-template.php | |
70 | _get_page_link | filter | no | wp-includes/link-template.php | |
71 | {$adjacent}_post_link | note | filter | no | wp-includes/link-template.php |
72 | {$adjacent}_post_rel_link | note | filter | no | wp-includes/link-template.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.