Warning: Trying to access array offset on false in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 216
is_post_type_hierarchical() - 文章类型是否分层 - WordPress函数 - WordPress动力
当前浏览:首页 / WordPress函数 / is_post_type_hierarchical()

is_post_type_hierarchical( string $post_type )

文章类型是否分层


Warning: Undefined array key -1 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 185

Warning: Undefined array key 4 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 186

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "d8b0f5b5fb982cd4086a6540e0b52109" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "c36259426466be41cc8d1020291d7414" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "b2f7dfdca5567db6f986bb6af13827bd" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

hierarchical 分层

is 条件判断more...

post_type 文章类型more...


描述

false返回值也可能意味着文章类型不存在。

更多类似的主题函数信息,请查看主题开发手册中的条件标签文章。

另见


参数

$post_type

(string) (必填) 文章类型名称


返回

(bool) 文章类型是否分层。



源码

查看源码 官方文档


更新日志

版本描述
3.0.0开始引入

Warning: Undefined variable $o in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference.php on line 194