wordpress/wp-content/plugins/cms-tree-page-view/functions.php
/**
 * Determine if a post type is considered hierarchical
 */
Determine if a post type is considered hierarchical
Determine if a post type is considered hierarchical
function cms_tpv_is_post_type_hierarchical($post_type_object) {
	$is_hierarchical = $post_type_object->hierarchical;
	if ("post" == $post_type_object->name) {
		$is_hierarchical = true;
	}
	return $is_hierarchical;
}
function cms_tpv_is_post_type_hierarchical ( $ post_type_object ) { $ is_hierarchical = $ post_type_object -> hierarchical ; if ( " post " == $ post_type_object -> name ) { $ is_hierarchical = true ; } return $ is_hierarchical ; }
Determine if a post type is considered hierarchical
Determine if a post type is considered hierarchical
// special case for posts, fake-support hierachical