Changeset 53877 for trunk/src/wp-includes/post.php
- Timestamp:
- 08/11/2022 02:01:35 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r53837 r53877 862 862 * correspond to a WP_Post object, an associative array, or a numeric array, 863 863 * respectively. Default OBJECT. 864 * @return WP_Post[]| int[] Array of post objects or post IDs.864 * @return WP_Post[]|array[]|int[] Array of post objects, arrays, or IDs, depending on `$output`. 865 865 */ 866 866 function get_children( $args = '', $output = OBJECT ) { … … 5807 5807 * @since 1.5.1 5808 5808 * 5809 * @param int $page_id Page ID.5810 * @param array$pages List of page objects from which descendants should be identified.5811 * @return arrayList of page children.5809 * @param int $page_id Page ID. 5810 * @param WP_Post[] $pages List of page objects from which descendants should be identified. 5811 * @return WP_Post[] List of page children. 5812 5812 */ 5813 5813 function get_page_children( $page_id, $pages ) {
Note: See TracChangeset
for help on using the changeset viewer.