WordPress.org

Codex

WPMU Functions/get blogaddress by id

Contents

Description

Returns the address of the blog specified by ID.

Parameters

$blog_id
(integer) (required) ID of blog queried.
Default: None

Return Values

(string) 
The address of the blog in question.

Usage

<?php get_blogaddress_by_id($blog_id); ?>

Examples

<?php
$blog_id 
1;
echo 
'Blog '.$blog_id.' can be found at '.get_blogaddress_by_id$blog_id );
?>