WordPress at a glance
function is not described

install_blog_defaults() WP 3.0.0

Deprecated in Use wp_install_defaults(). It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Set blog defaults.

This function creates a row in the wp_blogs table.

  • Global. wpdb. $wpdb WordPress database abstraction object.

No Hooks.

Return

Nothing (null).

Usage

install_blog_defaults( $blog_id, $user_id );
$blog_id(int) (required)
Ignored in this function.
$user_id(int) (required)

Code of install blog defaults: wp-includes/ms-deprecated.php VER 5.1.1

<?php
function install_blog_defaults( $blog_id, $user_id ) {
	global $wpdb;

	_deprecated_function( __FUNCTION__, 'MU' );

	require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );

	$suppress = $wpdb->suppress_errors();

	wp_install_defaults( $user_id );

	$wpdb->suppress_errors( $suppress );
}