WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Function Reference/get all page ids"

(Related)
m (Linked source to trac)
Line 22: Line 22:
 
== Source File ==
 
== Source File ==
 
<!-- Need links to current source code files -->
 
<!-- Need links to current source code files -->
<tt>get_all_page_ids()</tt> is located in <tt>wp-includes/post.php</tt>.
+
<tt>get_all_page_ids()</tt> is located in {{Trac|wp-includes/post.php}}.
   
 
== Related ==
 
== Related ==

Revision as of 19:48, 30 March 2012

Description

Get a list of page IDs.

Usage

<?php get_all_page_ids() ?>

Parameters

  • None

Return Values

(array) 
List of page IDs.

Examples

Notes

Change Log

Since: 2.0.0

Source File

get_all_page_ids() is located in wp-includes/post.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.