Codex

Function Reference/page uri index

Contents

Description

Retrieve all pages and attachments for pages URIs.

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

Usage

<?php page_uri_index() ?>

Parameters

None

Return Values

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

Examples

Notes

Change Log

Since: 2.5.0

Source File

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

Related

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()

See also index of Function Reference and index of Template Tags.