mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Docs: Improve documentation of known return types, plus other docs fixes.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -472,10 +472,8 @@ function get_admin_users_for_domain( $domain = '', $path = '' ) {
|
||||
* @type int $limit Number of sites to limit the query to. Default 100.
|
||||
* @type int $offset Exclude the first x sites. Used in combination with the $limit parameter. Default 0.
|
||||
* }
|
||||
* @return array An empty array if the installation is considered "large" via wp_is_large_network(). Otherwise,
|
||||
* an associative array of site data arrays, each containing the site (network) ID, blog ID,
|
||||
* site domain and path, dates registered and modified, and the language ID. Also, boolean
|
||||
* values for whether the site is public, archived, mature, spam, and/or deleted.
|
||||
* @return array[] An empty array if the installation is considered "large" via wp_is_large_network(). Otherwise,
|
||||
* an associative array of WP_Site data as arrays.
|
||||
*/
|
||||
function wp_get_sites( $args = array() ) {
|
||||
_deprecated_function( __FUNCTION__, '4.6.0', 'get_sites()' );
|
||||
|
||||
Reference in New Issue
Block a user