WordPress.org

Ready to get started?Download WordPress

Codex

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

Function Reference/get blogaddress by id

Description

Get a full blog URL, given a blog id.

Usage

<?php get_blogaddress_by_id$blog_id ?>

Parameters

$blog_id
(integer) (required) Blog ID
Default: None

Return Values

(string) 
The full blog URL

Examples

Notes

Change Log

Since: 3.0.0

Source File

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