wp-admin/includes/schema.php


Lines:

1 to 62 of 62
<?php

/**
 * WordPress Administration Scheme API
 *
 * Here we keep the DB structure and option values.
 *
 * @package WordPress
 * @subpackage Administration
 */


/**
 * Declare these as global in case schema.php is included from a function.
 *
 * @global wpdb   $wpdb            WordPress database abstraction object.
 * @global array  $wp_queries
 * @global string $charset_collate
 */
global $wpdb, $wp_queries, $charset_collate;


/**
 * The database character collate.
 */
$charset_collate = $wpdb->get_charset_collate();

/* function wp_get_db_schema() – Retrieve the SQL for creating database tables. */

// Populate for back compat.
$wp_queries = wp_get_db_schema( 'all' );

/* function populate_options() – Create WordPress options and set the default values. */

/* function populate_roles() – Execute WordPress role creation for the various WordPress versions. */

/* function populate_roles_160() – Create the roles for WordPress 2.0 */

/* function populate_roles_210() – Create and modify WordPress roles for WordPress 2.1. */

/* function populate_roles_230() – Create and modify WordPress roles for WordPress 2.3. */

/* function populate_roles_250() – Create and modify WordPress roles for WordPress 2.5. */

/* function populate_roles_260() – Create and modify WordPress roles for WordPress 2.6. */

/* function populate_roles_270() – Create and modify WordPress roles for WordPress 2.7. */

/* function populate_roles_280() – Create and modify WordPress roles for WordPress 2.8. */

/* function populate_roles_300() – Create and modify WordPress roles for WordPress 3.0. */

if ( ! function_exists( 'install_network' ) ) :
/* function install_network() – Install Network. */
endif;

/* function populate_network() – Populate network settings. */

/* function populate_network_meta() – Creates WordPress network meta and sets the default values. */

/* function populate_site_meta() – Creates WordPress site meta and sets the default values. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,,