WPDev.one
Core Function
View Source on Trac ↗

wp_make_theme_file_tree()

wp_make_theme_file_tree( mixed $allowed_files )

Makes a tree structure for the theme file editor's file list.

Parameters 1 required

Name / Type Description
$allowed_files
array

List of theme file paths.

Required

Return Value

(array)
Tree structure for listing theme files.

Function Information

Since Version
4.9.0
Source File
wp-admin/includes/misc.php
Advertisement