WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/get blogaddress by name

Contents

Description

Get a full blog URL, given a blog name.

Usage

<?php get_blogaddress_by_name$blogname ?>

Parameters

$blogname
(string) (required) The (subdomain or directory) name
Default: None

Return Values

(string) 
The full blog URL

Examples

Notes

Change Log

Since: 3.0.0

Source File

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