WordPress.org

Codex

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

Function Reference/install blog defaults

This page is marked as incomplete. You can help Codex by expanding it.

Description

Sets blog defaults.

This function creates a row in the wp_blogs table.

Usage

<?php install_blog_defaults($blog_id$user_id?>

Parameters

$blog_id
(integer) (optional) value is ignored
Default: None
$user_id
(integer) (required) User of the new blog
Default: None

Return Value

This function does not return a value

Examples


Notes

Change Log

Since: MU

Source File

install_blog_defaults() is located in wp-includes/ms-functions.php

Related

 

See also index of Function Reference and index of Template Tags.