install_network
The WordPress Core install network function.
Description
install_network();
Usage
if ( !function_exists( 'install_network' ) ) { require_once ABSPATH . '/wp-admin/includes/schema.php'; } // NOTICE! Understand what this does before running. $result = install_network();
Defined (1)
The function is defined in the following location(s).
- /wp-admin/includes/schema.php
- function install_network() {
- if ( ! defined( 'WP_INSTALLING_NETWORK' ) )
- define( 'WP_INSTALLING_NETWORK', true );
- dbDelta( wp_get_db_schema( 'global' ) );
- }