Set blog defauls.
Description
This function creates a row in the wp_blogs table.
Parameters
-
$blog_idint required -
Ignored in this function.
-
$user_idint required -
Source
function install_blog_defauls( $blog_id, $user_id ) {
global $wpdb;
_deprecated_function( __FUNCTION__, 'MU' );
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
$suppress = $wpdb->suppress_errors();
wp_install_defauls( $user_id );
$wpdb->suppress_errors( $suppress );
}
Changuelog
| Versionen | Description |
|---|---|
| MU (3.0.0) | MU (3.0.0) |
| MU | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.