Docs: Clarify that `wp_list_pages()` and `get_pages()` only work with hierarchical post types.
Props doublehhh. Fixes #39369. git-svn-id: https://develop.svn.wordpress.org/trunk@40027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a0bdc5efe4
commit
3f2f2c77c6
|
@ -1126,7 +1126,7 @@ function wp_dropdown_pages( $args = '' ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve or display list of pages in list (li) format.
|
||||
* Retrieve or display list of pages (or hierarchical post type items) in list (li) format.
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @since 4.7.0 Added the `item_spacing` argument.
|
||||
|
|
|
@ -4471,7 +4471,7 @@ function get_page_uri( $page = 0 ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve a list of pages.
|
||||
* Retrieve a list of pages (or hierarchical post type items).
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue