Make WordPress Core


Ignore:
Timestamp:
06/19/2021 08:55:52 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add a reference to WP_Site_Query::__construct() for information on accepted arguments in get_sites().

Synchronize the documentation between two places, use WP_Site_Query::__construct() as the canonical source.

Follow-up to [37616].

Props birgire, felipeelia, audrasjb.
Fixes #42156.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-site-query.php

    r49946 r51184  
    153153     *     @type string[]     $lang__not_in           Array of language IDs to exclude affiliated sites for. Default empty.
    154154     *     @type string       $search                 Search term(s) to retrieve matching sites for. Default empty.
    155      *     @type array        $search_columns         Array of column names to be searched. Accepts 'domain' and 'path'.
     155     *     @type string[]     $search_columns         Array of column names to be searched. Accepts 'domain' and 'path'.
    156156     *                                                Default empty array.
    157157     *     @type bool         $update_site_cache      Whether to prime the cache for found sites. Default true.
Note: See TracChangeset for help on using the changeset viewer.