wpseek.com
A WordPress-centric search engine for devs and theme authors



_get_post_ancestors › WordPress Function

Since2.3.4
Deprecated3.5.0
_get_post_ancestors ( $post )
Parameters:
  • (WP_Post) $post Post object, passed by reference (unused).
    Required: Yes
See:
Defined at:
Codex:

Retrieve post ancestors.

This is no longer needed as WP_Post lazy-loads the ancestors property with get_post_ancestors().


Source

function _get_post_ancestors( &$post ) {
	_deprecated_function( __FUNCTION__, '3.5.0' );
}