Core Function
View Source on Trac ↗ wp_print_theme_file_tree()
wp_print_theme_file_tree( mixed $tree, mixed $level = 2, mixed $size = 1, mixed $index = 1 ) Outputs the formatted file list for the theme file editor.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (array | | string) $tree List of file/folder paths, or filename. Required |
| $level int | The aria-level for the current iteration. |
| $size int | The aria-setsize for the current iteration. |
| $index int | The aria-posinset for the current iteration. |
Return Value
(void)
No return value description available.
Function Information
Since Version
4.9.0
Source File
wp-admin/includes/misc.php
Advertisement