WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get blogaddress by domain

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