• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / 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

      File name: wp-admin/includes/schema.php
      Plugin ref: WordPress
      Version: 5.6
      Deprecated?: No
      API Letters: A,I,P,S,W

      Published: 25th November 2019 | Last updated: 9th December 2020

      Primary Sidebar

      Information

      File name: wp-admin/includes/schema.php
      Plugin ref: WordPress
      Version: 5.6
      Deprecated?: No
      API Letters: A,I,P,S,W

      wp-admin/includes

      Footer

      WP-a2z
      WordPress core a2z
      WordPress core only
      WordPress 5.6
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  core.wp-a2z.org
      © Copyright WP-a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites