_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

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

Related Functions

_wp_get_presets_class_name, wp_get_nav_menu_name, walk_page_tree, get_current_site_name, wp_basename

Top Google Results

User discussions

wpseek mobile