WordPress.org

Ready to get started?Download WordPress

Codex

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

WPMU Functions/install blog

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); ?>