_get_post_ancestors
- _get_post_ancestors is deprecated since version 3.5.0!
Alternative: Use
_get_post_ancestors ( $post )
Parameters:- (WP_Post) post Post object, passed by reference (unused).
See:Defined at: - Introduced in WordPress: 2.3.4
- Deprecated in WordPress: 3.5.0
Description
Retrieve post ancestors.This is no longer needed as WP_Post lazy-loads the ancestors
property with get_post_ancestors().