wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/link-template.php › WordPress File
Functions117
› WordPress Link Template Functions
| Function | Short description |
|---|---|
| adjacent_posts_rel_link | Displays the relational links for the posts adjacent to the current post. |
| adjacent_posts_rel_link_wp_head | Displays relational links for the posts adjacent to the current post for single post pages. |
| adjacent_post_link | Displays the adjacent post link. |
| admin_url | Retrieves the URL to the admin area for the current site. |
| content_url | Retrieves the URL to the content directory. |
| edit_bookmark_link | Displays the edit bookmark link anchor content. |
| edit_comment_link | Displays the edit comment link with formatting. |
| edit_post_link | Displays the edit post link for post. |
| edit_tag_link | Displays or retrieves the edit link for a tag with formatting. |
| edit_term_link | Displays or retrieves the edit term link with formatting. |
| get_adjacent_post | Retrieves the adjacent post. |
| get_adjacent_post_link | Retrieves the adjacent post link. |
| get_adjacent_post_rel_link | Retrieves the adjacent post relational link. |
| get_admin_url | Retrieves the URL to the admin area for a given site. |
| get_attachment_link | Retrieves the permalink for an attachment. |
| get_author_feed_link | Retrieves the feed link for a given author. |
| get_avatar_data | Retrieves default data about the avatar. |
| get_avatar_url | Retrieves the avatar URL. |
| get_boundary_post | Retrieves the boundary post. |
| get_category_feed_link | Retrieves the feed link for a category. |
| get_comments_pagenum_link | Retrieves the comments page number link. |
| get_dashboard_url | Retrieves the URL to the user's dashboard. |
| get_day_link | Retrieves the permalink for the day archives with year and month. |
| get_delete_post_link | Retrieves the delete posts link for post. |
| get_edit_bookmark_link | Displays the edit bookmark link. |
| get_edit_comment_link | Retrieves the edit comment link. |
| get_edit_post_link | Retrieves the edit post link for post. |
| get_edit_profile_url | Retrieves the URL to the user's profile editor. |
| get_edit_tag_link | Retrieves the edit link for a tag. |
| get_edit_term_link | Retrieves the URL for editing a given term. |
| get_edit_user_link | Retrieves the edit user link. |
| get_feed_link | Retrieves the permalink for the feed type. |
| get_home_url | Retrieves the URL for a given site where the front end is accessible. |
| get_month_link | Retrieves the permalink for the month archives with year. |
| get_next_comments_link | Retrieves the link to the next comments page. |
| get_next_post | Retrieves the next post that is adjacent to the current post. |
| get_next_posts_link | Retrieves the next posts page link. |
| get_next_posts_page_link | Retrieves the next posts page link. |
| get_next_post_link | Retrieves the next post link that is adjacent to the current post. |
| get_pagenum_link | Retrieves the link for a page number. |
| get_page_link | Retrieves the permalink for the current page or page ID. |
| get_parent_theme_file_path | Retrieves the path of a file in the parent theme. |
| get_parent_theme_file_uri | Retrieves the URL of a file in the parent theme. |
| get_permalink | Retrieves the full permalink for the current post or post ID. |
| get_posts_nav_link | Retrieves the post pages link navigation for previous and next pages. |
| get_post_comments_feed_link | Retrieves the permalink for the post comments feed. |
| get_post_permalink | Retrieves the permalink for a post of a custom post type. |
| get_post_type_archive_feed_link | Retrieves the permalink for a post type archive feed. |
| get_post_type_archive_link | Retrieves the permalink for a post type archive. |
| get_preview_post_link | Retrieves the URL used for the post preview. |
| get_previous_comments_link | Retrieves the link to the previous comments page. |
| get_previous_post | Retrieves the previous post that is adjacent to the current post. |
| get_previous_posts_link | Retrieves the previous posts page link. |
| get_previous_posts_page_link | Retrieves the previous posts page link. |
| get_previous_post_link | Retrieves the previous post link that is adjacent to the current post. |
| get_privacy_policy_url | Retrieves the URL to the privacy policy page. |
| get_search_comments_feed_link | Retrieves the permalink for the search results comments feed. |
| get_search_feed_link | Retrieves the permalink for the search results feed. |
| get_search_link | Retrieves the permalink for a search. |
| get_site_url | Retrieves 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_link | Retrieves the permalink for a tag feed. |
| get_term_feed_link | Retrieves the feed link for a term. |
| get_theme_file_path | Retrieves the path of a file in the theme. |
| get_theme_file_uri | Retrieves the URL of a file in the theme. |
| get_the_comments_navigation | Retrieves navigation to next/previous set of comments, when applicable. |
| get_the_comments_pagination | Retrieves a paginated navigation to next/previous set of comments, when applicable. |
| get_the_permalink | Retrieves the full permalink for the current post or post ID. |
| get_the_posts_navigation | Returns the navigation to next/previous set of posts, when applicable. |
| get_the_posts_pagination | Retrieves a paginated navigation to next/previous set of posts, when applicable. |
| get_the_post_navigation | Retrieves the navigation to next/previous post, when applicable. |
| get_the_privacy_policy_link | Returns the privacy policy link with formatting, when applicable. |
| get_year_link | Retrieves the permalink for the year archives. |
| home_url | Retrieves the URL for the current site where the front end is accessible. |
| includes_url | Retrieves the URL to the includes directory. |
| is_avatar_comment_type | Check if this comment type allows avatars to be retrieved. |
| network_admin_url | Retrieves the URL to the admin area for the network. |
| network_home_url | Retrieves the home URL for the current network. |
| network_site_url | Retrieves the site URL for the current network. |
| next_comments_link | Displays the link to the next comments page. |
| next_posts | Displays or retrieves the next posts page link. |
| next_posts_link | Displays the next posts page link. |
| next_post_link | Displays the next post link that is adjacent to the current post. |
| next_post_rel_link | Displays the relational link for the next post adjacent to the current post. |
| paginate_comments_links | Displays or retrieves pagination links for the comments on the current post. |
| permalink_anchor | Displays the permalink anchor for the current post. |
| plugins_url | Retrieves a URL within the plugins or mu-plugins directory. |
| posts_nav_link | Displays the post pages link navigation for previous and next pages. |
| post_comments_feed_link | Displays the comment feed link for a post. |
| previous_comments_link | Displays the link to the previous comments page. |
| previous_posts | Displays or retrieves the previous posts page link. |
| previous_posts_link | Displays the previous posts page link. |
| previous_post_link | Displays the previous post link that is adjacent to the current post. |
| prev_post_rel_link | Displays the relational link for the previous post adjacent to the current post. |
| rel_canonical | Outputs rel=canonical for singular queries. |
| self_admin_url | Retrieves the URL to the admin area for either the current site or the network depending on context. |
| set_url_scheme | Sets the scheme for a URL. |
| site_url | Retrieves 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_navigation | Displays navigation to next/previous set of comments, when applicable. |
| the_comments_pagination | Displays a paginated navigation to next/previous set of comments, when applicable. |
| the_feed_link | Displays the permalink for the feed type. |
| the_permalink | Displays the permalink for the current post. |
| the_posts_navigation | Displays the navigation to next/previous set of posts, when applicable. |
| the_posts_pagination | Displays a paginated navigation to next/previous set of posts, when applicable. |
| the_post_navigation | Displays the navigation to next/previous post, when applicable. |
| the_privacy_policy_link | Displays the privacy policy link with formatting, when applicable. |
| the_shortlink | Displays the shortlink for a post. |
| user_admin_url | Retrieves the URL to the admin area for the current user. |
| user_trailingslashit | Retrieves a trailing-slashed string if the site is set for adding trailing slashes. |
| wp_force_plain_post_permalink | Determine whether post should always use a plain permalink structure. |
| wp_get_canonical_url | Returns the canonical URL for a post. |
| wp_get_shortlink | Returns a shortlink for a post, page, attachment, or site. |
| wp_internal_hosts | Returns an array of URL hosts which are considered to be internal hosts. |
| wp_is_internal_link | Determines whether or not the specified URL is of a host included in the internal hosts list. |
| wp_shortlink_header | Sends a Link: rel=shortlink header if a shortlink is defined for the current page. |
| wp_shortlink_wp_head | Injects rel=shortlink into the head if a shortlink is defined for the current page. |
| _get_page_link | Retrieves the page permalink. |
| _navigation_markup | Wraps passed links in navigational markup. |