WordPress.org

Codex

WPMU Functions/install blog

Contents

Description

Installs an empty blog at the specified id with an optionally specified title.

Parameters

$blog_id
(integer) (required) The id of the blog to be installed.
Default: None
$blog_title
(string) (optional) The title of the new blog
Default: [blank string]

Return Values

(null)

Usage

<?php install_blog($blog_id$blog_title); ?>