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/query.php

    r45932 r46660  
    9292 *
    9393 * @param array|string $query Array or string of WP_Query arguments.
    94  * @return array List of post objects.
     94 * @return WP_Post[]|int[] Array of post objects or post IDs.
    9595 */
    9696function query_posts( $query ) {
Note: See TracChangeset for help on using the changeset viewer.