Un motore di ricerca WordPress per sviluppatori e autori di temi



_get_post_ancestors ›

Da2.3.4
Deprecato3.5.0
_get_post_ancestors ( $post )
Parametri:
  • (WP_Post) $post Post object, passed by reference (unused).
    Richiesto:
Vedi:
Definito a:
Codex:

Retrieve post ancestors.

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



Sorgenti

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