Core Function
View Source on Trac ↗ walk_page_tree()
walk_page_tree( mixed $pages, mixed $depth, mixed $current_page, mixed $args ) Retrieves HTML list content for page list.
Parameters 4 required
| Name / Type | Description |
|---|---|
| array | $pages Required |
| int | $depth Required |
| int | $current_page Required |
| array | $args Required |
Return Value
(string)
string
Function Information
Since Version
2.1.0
Source File
wp-includes/post-template.php
Advertisement