Changeset 48941 for trunk/src/wp-includes/post.php
- Timestamp:
- 09/04/2020 08:39:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r48829 r48941 797 797 798 798 /** 799 * Retrieve ancestors of a post.799 * Retrieves the IDs of the ancestors of a post. 800 800 * 801 801 * @since 2.5.0 802 802 * 803 803 * @param int|WP_Post $post Post ID or post object. 804 * @return int[] A ncestor IDs or empty array if none are found.804 * @return int[] Array of ancestor IDs or empty array if there are none. 805 805 */ 806 806 function get_post_ancestors( $post ) {
Note: See TracChangeset
for help on using the changeset viewer.