block_core_page_list_render_nested_page_list


block_core_page_list_render_nested_page_list ( $open_submenus_on_click, $show_submenu_icons, $is_navigation_child, $nested_pages, $active_page_ancestor_ids = array(), $colors = array(), $depth = 0 )

Parameters:
  • (bool) open_submenus_on_click Whether to open submenus on click instead of hover.
  • (bool) show_submenu_icons Whether to show submenu indicator icons.
  • (bool) is_navigation_child If block is a child of Navigation block.
  • (array) nested_pages The array of nested pages.
  • (array) active_page_ancestor_ids An array of ancestor ids for active page.
  • (array) colors Color information for overlay styles.
  • (int) depth The nesting depth.
Returns:
  • (string) List markup.
Defined at:

Description

Outputs Page list markup from an array of pages with nested children.

Related Functions

block_core_page_list_nest_pages, block_core_navigation_link_render_submenu_icon, block_core_navigation_render_submenu_icon, block_core_calendar_has_published_posts, block_core_page_list_build_css_colors

Top Google Results

User discussions

wpseek mobile