page_uri_index

Sponsored Link

ページURLの全てのページ及び添付ファイルを読み出します。

添付ファイルは親としてページを持ち、取得されるためのものです。

Sponsored Link

Retrieve all pages and attachments for pages URIs.

The attachments are for those that have pages as parents and will be retrieved.

page_uri_indexのファンクションタグ使用方法

<?php page_uri_index() ?>

page_uri_indexのパラメーター

None

戻り値

(array)
最初の要素としてのページURLと2番目の要素として添付ファイルのURLのページURLの配列です。

(array)
Array of page URIs as first element and attachment URIs as second element.

注釈

  • Uses: $wpdb
  • Uses: get_page_hierarchy() on db query result in posts table.
  • Uses: get_page_uri() on each page ID.

変更ログ

Since: 2.5.0

ソースファイル

page_uri_index()は、wp-includes/rewrite.php内に位置しています。

page_uri_index() is located in wp-includes/rewrite.php.

関連ファンクションタグ

Page Tags: get_all_page_ids(), get_ancestors(), get_page(), get_page_link(), get_page_by_path(), get_page_by_title(), get_page_children(), get_page_hierarchy(), get_page_uri(), get_pages(), is_page(), page_uri_index(), wp_list_pages(), wp_page_menu()

Sponsored Link