WordPress判断文章类型是否支持层级函数:is_post_type_hierarchical

WordPress函数is_post_type_hierarchical用于判断指定文章类型是否支持层级。

is_post_type_hierarchical( string $post_type )

Table of Contents

函数参数

$post_type

字符串

文章类型名称

扩展阅读

is_post_type_hierarchical()函数位于:wp-includes/post.php

相关函数:

原创文章,作者:,如若转载,请注明出处:https://ce.771633.xyz/1817.html

Like (0)
Previous 2025年3月8日
Next 2025年3月8日

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注