[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
WordPress Administration Scheme API Here we keep the DB structure and option values.
File Size: | 1350 lines (42 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
wp_get_db_schema( $scope = 'all', $blog_id = null ) X-Ref |
Retrieve the SQL for creating database tables. return: string The SQL needed to create the requested tables. param: string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all. param: int $blog_id Optional. The site ID for which to retrieve SQL. Default is the current site ID. since: 3.3.0 |
populate_options( array $options = array() X-Ref |
Create WordPress options and set the default values. param: array $options Optional. Custom option $key => $value pairs to use. Default empty array. since: 1.5.0 since: 5.1.0 The $options parameter has been added. |
populate_roles() X-Ref |
Execute WordPress role creation for the various WordPress versions. since: 2.0.0 |
populate_roles_160() X-Ref |
Create the roles for WordPress 2.0 since: 2.0.0 |
populate_roles_210() X-Ref |
Create and modify WordPress roles for WordPress 2.1. since: 2.1.0 |
populate_roles_230() X-Ref |
Create and modify WordPress roles for WordPress 2.3. since: 2.3.0 |
populate_roles_250() X-Ref |
Create and modify WordPress roles for WordPress 2.5. since: 2.5.0 |
populate_roles_260() X-Ref |
Create and modify WordPress roles for WordPress 2.6. since: 2.6.0 |
populate_roles_270() X-Ref |
Create and modify WordPress roles for WordPress 2.7. since: 2.7.0 |
populate_roles_280() X-Ref |
Create and modify WordPress roles for WordPress 2.8. since: 2.8.0 |
populate_roles_300() X-Ref |
Create and modify WordPress roles for WordPress 3.0. since: 3.0.0 |
install_network() X-Ref |
Install Network. since: 3.0.0 |
populate_network( $network_id = 1, $domain = '', $email = '', $site_name = '', $path = '/', $subdomain_install = false ) X-Ref |
Populate network settings. return: bool|WP_Error True on success, or WP_Error on warning (with the installation otherwise successful, param: int $network_id ID of network to populate. param: string $domain The domain name for the network. Example: "example.com". param: string $email Email address for the network administrator. param: string $site_name The name of the network. param: string $path Optional. The path to append to the network's domain name. Default '/'. param: bool $subdomain_install Optional. Whether the network is a subdomain installation or a subdirectory installation. since: 3.0.0 |
populate_network_meta( $network_id, array $meta = array() X-Ref |
Creates WordPress network meta and sets the default values. param: int $network_id Network ID to populate meta for. param: array $meta Optional. Custom meta $key => $value pairs to use. Default empty array. since: 5.1.0 |
populate_site_meta( $site_id, array $meta = array() X-Ref |
Creates WordPress site meta and sets the default values. param: int $site_id Site ID to populate meta for. param: array $meta Optional. Custom meta $key => $value pairs to use. Default empty array. since: 5.1.0 |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |