install_blog

Advertisement

Deprecated Deprecated

This function has been deprecated.

Summery Summery

Install an empty blog.

Syntax Syntax

install_blog( int $blog_id, string $blog_title = '' )

Description Description

Creates the new blog tables and options. If calling this function directly, be sure to use switch_to_blog() first, so that $wpdb points to the new blog.

Parameters Parameters

$blog_id

(int) (Required) The value returned by wp_insert_site().

$blog_title

(string) (Optional) The title of the new site.

Default value: ''

Source Source

File: wp-includes/ms-deprecated.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 This function has been deprecated.
MU (3.0.0) Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.