wp_page_menu


wp_page_menu ( $args = array() )

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

Description

Displays or retrieves a list of pages with an optional home link.

The arguments are listed below and part of the arguments are for wp_list_pages()} function. Check that function for more info on those arguments.

Related Functions

wp_nav_menu, wp_get_nav_menus, wp_update_comment, wp_spam_comment, wp_get_theme

Top Google Results

User discussions

wpseek mobile