A WordPress-centric search engine for devs and theme authors



wp-includes/link-template.php ›

Functions111
WordPress Link Template Functions


Function Short description
adjacent_posts_rel_linkDisplays the relational links for the posts adjacent to the current post.
adjacent_posts_rel_link_wp_headDisplays relational links for the posts adjacent to the current post for single post pages.
adjacent_post_linkDisplays the adjacent post link.
admin_urlRetrieves the URL to the admin area for the current site.
content_urlRetrieves the URL to the content directory.
edit_bookmark_linkDisplays the edit bookmark link anchor content.
edit_comment_linkDisplays the edit comment link with formatting.
edit_post_linkDisplays the edit post link for post.
edit_tag_linkDisplays or retrieves the edit link for a tag with formatting.
edit_term_linkDisplays or retrieves the edit term link with formatting.
get_adjacent_postRetrieves the adjacent post.
get_adjacent_post_linkRetrieves the adjacent post link.
get_adjacent_post_rel_linkRetrieves the adjacent post relational link.
get_admin_urlRetrieves the URL to the admin area for a given site.
get_attachment_linkRetrieves the permalink for an attachment.
get_author_feed_linkRetrieves the feed link for a given author.
get_avatar_dataRetrieves default data about the avatar.
get_avatar_urlRetrieves the avatar URL.
get_boundary_postRetrieves the boundary post.
get_category_feed_linkRetrieves the feed link for a category.
get_comments_pagenum_linkRetrieves the comments page number link.
get_dashboard_urlRetrieves the URL to the user's dashboard.
get_day_linkRetrieves the permalink for the day archives with year and month.
get_delete_post_linkRetrieves the delete posts link for post.
get_edit_bookmark_linkDisplays the edit bookmark link.
get_edit_comment_linkRetrieves the edit comment link.
get_edit_post_linkRetrieves the edit post link for post.
get_edit_profile_urlRetrieves the URL to the user's profile editor.
get_edit_tag_linkRetrieves the edit link for a tag.
get_edit_term_linkRetrieves the URL for editing a given term.
get_edit_user_linkRetrieves the edit user link.
get_feed_linkRetrieves the permalink for the feed type.
get_home_urlRetrieves the URL for a given site where the front end is accessible.
get_month_linkRetrieves the permalink for the month archives with year.
get_next_comments_linkRetrieves the link to the next comments page.
get_next_postRetrieves the next post that is adjacent to the current post.
get_next_posts_linkRetrieves the next posts page link.
get_next_posts_page_linkRetrieves the next posts page link.
get_next_post_linkRetrieves the next post link that is adjacent to the current post.
get_pagenum_linkRetrieves the link for a page number.
get_page_linkRetrieves the permalink for the current page or page ID.
get_parent_theme_file_pathRetrieves the path of a file in the parent theme.
get_parent_theme_file_uriRetrieves the URL of a file in the parent theme.
get_permalinkRetrieves the full permalink for the current post or post ID.
get_posts_nav_linkRetrieves the post pages link navigation for previous and next pages.
get_post_comments_feed_linkRetrieves the permalink for the post comments feed.
get_post_permalinkRetrieves the permalink for a post of a custom post type.
get_post_type_archive_feed_linkRetrieves the permalink for a post type archive feed.
get_post_type_archive_linkRetrieves the permalink for a post type archive.
get_preview_post_linkRetrieves the URL used for the post preview.
get_previous_comments_linkRetrieves the link to the previous comments page.
get_previous_postRetrieves the previous post that is adjacent to the current post.
get_previous_posts_linkRetrieves the previous posts page link.
get_previous_posts_page_linkRetrieves the previous posts page link.
get_previous_post_linkRetrieves the previous post link that is adjacent to the current post.
get_privacy_policy_urlRetrieves the URL to the privacy policy page.
get_search_comments_feed_linkRetrieves the permalink for the search results comments feed.
get_search_feed_linkRetrieves the permalink for the search results feed.
get_search_linkRetrieves the permalink for a search.
get_site_urlRetrieves the URL for a given site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.
get_tag_feed_linkRetrieves the permalink for a tag feed.
get_term_feed_linkRetrieves the feed link for a term.
get_theme_file_pathRetrieves the path of a file in the theme.
get_theme_file_uriRetrieves the URL of a file in the theme.
get_the_comments_navigationRetrieves navigation to next/previous set of comments, when applicable.
get_the_comments_paginationRetrieves a paginated navigation to next/previous set of comments, when applicable.
get_the_permalinkRetrieves the full permalink for the current post or post ID.
get_the_posts_navigationReturns the navigation to next/previous set of posts, when applicable.
get_the_posts_paginationRetrieves a paginated navigation to next/previous set of posts, when applicable.
get_the_post_navigationRetrieves the navigation to next/previous post, when applicable.
get_year_linkRetrieves the permalink for the year archives.
home_urlRetrieves the URL for the current site where the front end is accessible.
includes_urlRetrieves the URL to the includes directory.
network_admin_urlRetrieves the URL to the admin area for the network.
network_home_urlRetrieves the home URL for the current network.
network_site_urlRetrieves the site URL for the current network.
next_comments_linkDisplays the link to the next comments page.
next_postsDisplays or retrieves the next posts page link.
next_posts_linkDisplays the next posts page link.
next_post_linkDisplays the next post link that is adjacent to the current post.
next_post_rel_linkDisplays the relational link for the next post adjacent to the current post.
paginate_comments_linksDisplays or retrieves pagination links for the comments on the current post.
permalink_anchorDisplays the permalink anchor for the current post.
plugins_urlRetrieves a URL within the plugins or mu-plugins directory.
posts_nav_linkDisplays the post pages link navigation for previous and next pages.
post_comments_feed_linkDisplays the comment feed link for a post.
previous_comments_linkDisplays the link to the previous comments page.
previous_postsDisplays or retrieves the previous posts page link.
previous_posts_linkDisplays the previous posts page link.
previous_post_linkDisplays the previous post link that is adjacent to the current post.
prev_post_rel_linkDisplays the relational link for the previous post adjacent to the current post.
rel_canonicalOutputs rel=canonical for singular queries.
self_admin_urlRetrieves the URL to the admin area for either the current site or the network depending on context.
set_url_schemeSets the scheme for a URL.
site_urlRetrieves the URL for the current site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.
the_comments_navigationDisplays navigation to next/previous set of comments, when applicable.
the_comments_paginationDisplays a paginated navigation to next/previous set of comments, when applicable.
the_feed_linkDisplays the permalink for the feed type.
the_permalinkDisplays the permalink for the current post.
the_posts_navigationDisplays the navigation to next/previous set of posts, when applicable.
the_posts_paginationDisplays a paginated navigation to next/previous set of posts, when applicable.
the_post_navigationDisplays the navigation to next/previous post, when applicable.
the_shortlinkDisplays the shortlink for a post.
user_admin_urlRetrieves the URL to the admin area for the current user.
user_trailingslashitRetrieves a trailing-slashed string if the site is set for adding trailing slashes.
wp_get_canonical_urlReturns the canonical URL for a post.
wp_get_shortlinkReturns a shortlink for a post, page, attachment, or site.
wp_shortlink_headerSends a Link: rel=shortlink header if a shortlink is defined for the current page.
wp_shortlink_wp_headInjects rel=shortlink into the head if a shortlink is defined for the current page.
_get_page_linkRetrieves the page permalink.
_navigation_markupWraps passed links in navigational markup.