WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2017 10:58:04 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Clarify that wp_list_pages() and get_pages() only work with hierarchical post types.

Props doublehhh.
Fixes #39369.

File:
1 edited

Legend:

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

    r39667 r40027  
    44724472
    44734473/**
    4474  * Retrieve a list of pages.
     4474 * Retrieve a list of pages (or hierarchical post type items).
    44754475 *
    44764476 * @global wpdb $wpdb WordPress database abstraction object.
Note: See TracChangeset for help on using the changeset viewer.