WPDev.one
Core Function
View Source on Trac ↗

is_post_type_hierarchical()

is_post_type_hierarchical( mixed $post_type )

Determines whether the post type is hierarchical.

Parameters 1 required

Name / Type Description
$post_type
string

Post type name

Required

Return Value

(bool)
Whether post type is hierarchical.

Function Information

Since Version
3.0.0
Source File
wp-includes/post.php
Advertisement