Codex

Function Reference/create empty blog

Contents

Description

Creates a new, empty blog.

Parameters

$domain
(string) (required) Domain name for blog.
Default: None
$path
(string) (required) Path to the blog.
Default: None
$weblog_title
(string) (required) Title for blog.
Default: None
$site_id
(int) (optional) Site ID, if running multiple networks.
Default: 1

Returns

  • @return Blog ID on success, an error message on failure.

See also

See also index of Function Reference and index of Template Tags.
This page is marked as incomplete. You can help Codex by expanding it.