Codex tools: Log in
Languages: English • 日本語 • (Add your language)
Contents |
The get_home_url template tag retrieves the home url for a given site. Returns the 'home' option with the appropriate protocol, 'https' if is_ssl() and 'http' otherwise. If scheme is 'http' or 'https', is_ssl() is overridden.
<?php get_home_url( $blog_id, $path, $scheme ); ?>
<?php get_home_url(); ?>
apply_filters() Calls 'home_url' hook on home url before returning.
get_home_url() is located in wp-includes/link-template.php.
Edit Link: edit_post_link(), edit_comment_link(), edit_tag_link(), edit_bookmark_link()