WPDev.one
Core Function
View Source on Trac ↗

wp_print_plugin_file_tree()

wp_print_plugin_file_tree( mixed $tree, mixed $label = '', mixed $level = 2, mixed $size = 1, mixed $index = 1 )

Outputs the formatted file list for the plugin file editor.

Parameters 1 required

Name / Type Description
(array

| string) $tree List of file/folder paths, or filename.

Required
$label
string

Name of file or folder to print.

$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