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/insert blog

Description

Inserts blog information into the wp_blogs table and performs a refresh of blog details after.

Parameters

$domain
(string) (required) The domain of the blog to be added/
Default: None
$path
(string) (required) The path of the blog to be added.
Default: None
$site_id
(integer) (required) The site id of the blog to be added.
Default: None

Return Values

(cast) 
description.

Usage

<?php insert_blog($domain$path$site_id); ?>


Resources