wp_list_pages


wp_list_pages ( $args = '' )

Parameters:
  • (array|string) $args { Optional. Array or string of arguments to generate a list of pages. See `get_pages()` for additional arguments.
See:
Returns:
  • (string|void) HTML list of pages.
Defined at:
Change Log:
  • 4: .

Description

Retrieve or display a list of pages (or hierarchical post type items) in list (li) format.

Related Functions

wp_link_pages, wp_list_cats, wp_list_widgets, wp_list_categories, _wp_link_page

Top Google Results

User discussions

wpseek mobile