WordPress.org

Codex

Function Reference/page uri index

Contents

Description

This page is marked as needing to be renamed. It does not meet current guidelines or has some other issue. A Codex administrator will attend to this as soon as possible.
Note: This is not a directly callable function, it is a method of the WP_Rewrite class. This page should be moved from Function Reference to Rewrite API

Retrieve all pages and attachments for pages URIs.

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

Usage

<?php $wp_rewrite->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.