Query::find_post_parent()

Method: Find a post’s parent post. Will return the original post if the post-type is not hierarchical or the post does not have a parent.

Source: src/Query.php:418

Used by 2 functions | Uses 1 function