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:

Description

Determines whether the post type is hierarchical.A false return value might also mean that the post type does not exist.

Related Functions

is_post_type_archive, is_post_type_viewable, is_taxonomy_hierarchical, get_post_type_archive_link, post_type_archive_title

Top Google Results

User discussions

wpseek mobile