Codex

WPMU Functions/create empty blog

Contents

Description

Checks to see if the blog already exists, and if not it then inserts the blog into the database using insert_blog.

Parameters

$domain
(string) (required) The domain of the new blog.
Default: None
$path
(string) (required) The path of the new blog.
Default: None
$weblog_title
(string) (required) The title of the new blog.
Default: None
$site_id
(integer) (optional) The site id of the new blog.
Default: 1

Return Values

(integer) 
Returns the id of the newly created blog.

Usage

<?php create_empty_blog($domain$path$weblog_title$site_id); ?>