Codex

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

WPMU Functions/install blog

This page redirects to an external site: https://developer.wordpress.org/reference/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); ?>