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 | the_title | filter | no | wp-includes/link-template.php | |
2 | get_edit_post_link | filter | no | wp-includes/link-template.php | |
3 | edit_post_link | filter | no | wp-includes/link-template.php | |
4 | get_edit_comment_link | filter | no | wp-includes/link-template.php | |
5 | edit_comment_link | filter | no | wp-includes/link-template.php | |
6 | get_edit_bookmark_link | filter | no | wp-includes/link-template.php | |
7 | edit_bookmark_link | filter | no | wp-includes/link-template.php | |
8 | get_{$adjacent}_post_join | note | filter | no | wp-includes/link-template.php |
9 | get_{$adjacent}_post_where | note | filter | no | wp-includes/link-template.php |
10 | get_{$adjacent}_post_sort | note | filter | no | wp-includes/link-template.php |
11 | the_title | filter | no | wp-includes/link-template.php | |
12 | the_title | filter | no | wp-includes/link-template.php | |
13 | user_trailingslashit | filter | no | wp-includes/link-template.php | |
14 | the_title | filter | no | wp-includes/link-template.php | |
15 | {$adjacent}_post_link | note | filter | no | wp-includes/link-template.php |
16 | get_pagenum_link | filter | no | wp-includes/link-template.php | |
17 | next_posts_link_attributes | filter | no | wp-includes/link-template.php | |
18 | previous_posts_link_attributes | filter | no | wp-includes/link-template.php | |
19 | get_comments_pagenum_link | filter | no | wp-includes/link-template.php | |
20 | next_comments_link_attributes | filter | no | wp-includes/link-template.php | |
21 | previous_comments_link_attributes | filter | no | wp-includes/link-template.php | |
22 | shortcut_link | filter | no | wp-includes/link-template.php | |
23 | site_url | filter | no | wp-includes/link-template.php | |
24 | search_feed_link | filter | no | wp-includes/link-template.php | |
25 | post_link | filter | no | wp-includes/link-template.php | |
26 | post_link | filter | no | wp-includes/link-template.php | |
27 | page_link | filter | no | wp-includes/link-template.php | |
28 | _get_page_link | filter | no | wp-includes/link-template.php | |
29 | attachment_link | filter | no | wp-includes/link-template.php | |
30 | year_link | filter | no | wp-includes/link-template.php | |
31 | year_link | filter | no | wp-includes/link-template.php | |
32 | month_link | filter | no | wp-includes/link-template.php | |
33 | month_link | filter | no | wp-includes/link-template.php | |
34 | the_permalink | filter | no | wp-includes/link-template.php | |
35 | day_link | filter | no | wp-includes/link-template.php | |
36 | day_link | filter | no | wp-includes/link-template.php | |
37 | feed_link | filter | no | wp-includes/link-template.php | |
38 | post_comments_feed_link | filter | no | wp-includes/link-template.php | |
39 | search_feed_link | filter | no | wp-includes/link-template.php | |
40 | author_feed_link | filter | no | wp-includes/link-template.php | |
41 | category_feed_link | filter | no | wp-includes/link-template.php | |
42 | tag_feed_link | filter | no | wp-includes/link-template.php | |
43 | get_edit_tag_link | filter | no | wp-includes/link-template.php | |
44 | edit_tag_link | filter | no | wp-includes/link-template.php | |
45 | includes_url | filter | YES | wp-includes/link-template.php | |
46 | admin_url | filter | YES | wp-includes/link-template.php | |
47 | content_url | filter | YES | wp-includes/link-template.php | |
48 | plugins_url | filter | YES | wp-includes/link-template.php | |
49 | parent_post_rel_link | filter | YES | wp-includes/link-template.php | |
50 | index_rel_link | filter | YES | wp-includes/link-template.php | |
51 | {$boundary}_post_rel_link | note | filter | YES | wp-includes/link-template.php |
52 | {$adjacent}_post_rel_link | note | filter | YES | wp-includes/link-template.php |
53 | post_comments_feed_link_html | filter | YES | 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.