Link (URL) (tag)
admin_url() | Retrieves the URL to the admin area for the current site. Takes into account protocols (http and https). |
attachment_url_to_postid() | Tries to convert an attachment URL into a post ID. |
build_query() | Build URL query based on an associative and, or indexed array. |
comment_link() | Display the link to the comments. |
content_url() | Retrieves the URL to the content directory. |
get_comments_link() | Retrieves the link to the current post comments. |
get_comments_pagenum_link() | Retrieves the comments page number link. |
get_edit_post_link() | Gets the link (URL) to edit post in the admin panel. |
get_edit_term_link() | Retrieves the URL for editing a given term. |
get_home_url() | Retrieves the URL for a given site where the front end is accessible. |
get_next_comments_link() | Retrieves the link to the next comments page. |
get_next_posts_page_link() | Retrieves the next posts page link. |
get_page_link() | Retrieves the permalink for the current page or page ID. |
get_post_embed_url() | Retrieves the URL to embed a specific post in an iframe. |
get_post_permalink() | Retrieves the permalink for a post of a custom post type. |
get_post_type_archive_link() | Retrieves the permalink for a post type archive. |
get_previous_posts_page_link() | Retrieves the previous posts page link. |
get_privacy_policy_url() | Retrieves the URL to the privacy policy page. |
get_rest_url() | Retrieves the URL to a REST endpoint on a site. |
get_search_link() | Retrieves the permalink for a search. |
get_stylesheet_directory_uri() | Retrieve stylesheet directory URI. |
get_stylesheet_uri() | Retrieves the URI of the current theme stylesheet file (style.css). |
get_theme_root_uri() | Retrieve URI for themes directory. |
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 wp-includes directory with the appropriate protocol: 'https' or 'http'. |
network_admin_url() | Retrieves the URL to the admin panel for the network — many sites management (not for a single blog of the network): |
network_home_url() | Retrieves the home URL for the current network. |
plugin_dir_url() | Get the URL directory path (with trailing slash) for the plugin __FILE__ passed in. |
plugins_url() | Retrieves a URL within the plugins or mu-plugins directory. |
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. |
strip_fragment_from_url() | Strips the #fragment from a URL, if one is present. |
the_post_thumbnail_url() | Display the post thumbnail URL. |
url_to_postid() | Gets post, page ID by transmitted URL. Examine a URL and try to determine the post ID it represents. |
wc_get_cart_url() | Gets the url to the cart page. |
wp_extract_urls() | Use RegEx to extract URLs from arbitrary content. |
wp_get_attachment_image_url() | Get the URL of an image attachment. |
wp_get_upload_dir() | Retrieves uploads directory information. |
wp_make_link_relative() | Convert full URL paths to absolute paths. |
wp_parse_url() | Parses a URL and returns its components. A wrapper for PHP's parse_url() function that handles consistency in the return values across PHP versions. |
wp_registration_url() | Returns the URL that allows the user to register on the site. |
wp_upload_dir() | Get an array containing the current upload directory's path and url. |
wp_validate_redirect() | Validates a URL for use in a redirect. |