WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/05/2019 09:21:46 PM (18 months ago)
Author:
johnbillion
Message:

Docs: Improve documentation of known return types, plus other docs fixes.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-deprecated.php

    r46420 r46660  
    473473 *     @type int       $offset     Exclude the first x sites. Used in combination with the $limit parameter. Default 0.
    474474 * }
    475  * @return array An empty array if the installation is considered "large" via wp_is_large_network(). Otherwise,
    476  *               an associative array of site data arrays, each containing the site (network) ID, blog ID,
    477  *               site domain and path, dates registered and modified, and the language ID. Also, boolean
    478  *               values for whether the site is public, archived, mature, spam, and/or deleted.
     475 * @return array[] An empty array if the installation is considered "large" via wp_is_large_network(). Otherwise,
     476 *                 an associative array of WP_Site data as arrays.
    479477 */
    480478function wp_get_sites( $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.