Function xu_get_top_parent_post_type_object
Get top-most parent post type object.
Located at
lib/post.php
WP_Post|integer |
$post = null |
WP_Post|array|null
|
WP_Post|array|null |
Exception
|
if post is not a instance of WP_Post |