常用函数-page_uri_index()

0条评论

常用函数-page_uri_index()

说明

为页面URI检索所有页面与附件。

检索以页面为父级的文章的附件。

用法

<?php page_uri_index() ?>

参数

返回的值

(数组)

以页面URI数组作为第一元素,以附件URL作为第二元素。

示例

注释

修改记录

自2.5.0版本起

源文件

page_uri_index()位于 wp-includes/rewrite.ph中 。

相关资源

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许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.