Docs: Add arguments passed by wp_insert_site()
to wp_initialize_site()
.
Props codemascot. Fixes #45061. Built from https://develop.svn.wordpress.org/trunk@45236 git-svn-id: http://core.svn.wordpress.org/trunk@45045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2e0e63f923
commit
7ec74901d3
@ -30,6 +30,14 @@
|
|||||||
* @type int $spam Whether the site is spam. Default 0.
|
* @type int $spam Whether the site is spam. Default 0.
|
||||||
* @type int $deleted Whether the site is deleted. Default 0.
|
* @type int $deleted Whether the site is deleted. Default 0.
|
||||||
* @type int $lang_id The site's language ID. Currently unused. Default 0.
|
* @type int $lang_id The site's language ID. Currently unused. Default 0.
|
||||||
|
* @type int $user_id User ID for the site administrator. Passed to the
|
||||||
|
* `wp_initialize_site` hook.
|
||||||
|
* @type string $title Site title. Default is 'Site %d' where %d is the site ID. Passed
|
||||||
|
* to the `wp_initialize_site` hook.
|
||||||
|
* @type array $options Custom option $key => $value pairs to use. Default empty array. Passed
|
||||||
|
* to the `wp_initialize_site` hook.
|
||||||
|
* @type array $meta Custom site metadata $key => $value pairs to use. Default empty array.
|
||||||
|
* Passed to the `wp_initialize_site` hook.
|
||||||
* }
|
* }
|
||||||
* @return int|WP_Error The new site's ID on success, or error object on failure.
|
* @return int|WP_Error The new site's ID on success, or error object on failure.
|
||||||
*/
|
*/
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-beta3-45235';
|
$wp_version = '5.2-beta3-45236';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user