常用函数-get_page_hierarchy()

0条评论

常用函数-get_page_hierarchy()

说明

get_page_hierarchy( )函数返回一个数组,该数组按页面排序次序进行排序。函数调用两个参数,分别是一个页面列表对象和一个父ID(可选)。

该函数在wp-includes/posts.php文件中有所定义。

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.