WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/get blogaddress by domain

Contents

Description

Get a full blog URL, given a domain and a path.

Usage

<?php get_blogaddress_by_domain$domain$path ?>

Parameters

$domain
(string) (required) The domain
Default: None
$path
(string) (required) The path
Default: None

Return Values

(string) 
The full blog URL

Examples

Notes

Change Log

Since: 3.0.0

Source File

get_blogaddress_by_domain() is located in wp-includes/ms-blogs.php