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/install blog defaults

Description

Creates the default links, first post and comment, first page and then finishes with some tidying up.

Parameters

$blog_id
(integer) (required) The blog id to setup.
Default: None
$user_id
(integer) (required) The user id to attribute the new information to.
Default: None

Return Values

(null)

Usage

<?php install_blog_defaults($blog_id$user_id); ?>