Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Hooks in wp-includes/link-template.php

WP version: 5.0

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

Important warning about variable hooks

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.