is_post_type_hierarchical
is_post_type_hierarchical ( $post_type )
Parameters:- (string) post_type Post type name
See:Returns:- (bool) Whether post type is hierarchical.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Determines whether the post type is hierarchical.A false return value might also mean that the post type does not exist.