WPDev.one
Core Function
View Source on Trac ↗

get_blogaddress_by_id()

get_blogaddress_by_id( mixed $blog_id )

Gets a full site URL, given a site ID.

Parameters 1 required

Name / Type Description
$blog_id
int

Site ID.

Required

Return Value

(string)
Full site URL if found. Empty string if not.

Function Information

Since Version
MU (3.0.0)
Source File
wp-includes/ms-blogs.php
Advertisement