_page_traverse_name


_page_traverse_name ( $page_id, $children, $result )

Access:
  • private
Parameters:
  • (int) page_id Page ID.
  • (array) children Parent-children relations (passed by reference).
  • (string[]) result Array of page names keyed by ID (passed by reference).
See:
Defined at:

Description

Traverse and return all the nested children post names of a root page.$children contains parent-children relations

Related Functions

wp_get_nav_menu_name, walk_page_tree, get_current_site_name, wp_basename, plugin_basename

Top Google Results

User discussions

wpseek mobile