wp_print_theme_file_tree


wp_print_theme_file_tree ( $tree, $level = 2, $size = 1, $index = 1 )

Access:
  • private
Parameters:
  • (array|string) $tree List of file/folder paths, or filename.
  • (int) $level The aria-level for the current iteration.
  • (int) $size The aria-setsize for the current iteration.
  • (int) $index The aria-posinset for the current iteration.
Defined at:

Description

Outputs the formatted file list for the theme editor.

Related Functions

wp_make_theme_file_tree, wp_print_plugin_file_tree, get_parent_theme_file_uri, get_parent_theme_file_path, get_theme_file_uri

Top Google Results

User discussions

wpseek mobile