Used By
Used By | Description |
---|---|
wp-admin/includes/class-wp-filesystem-base.php: WP_Filesystem_Base::search_for_folder() | Locates a folder on the remote filesystem. |
Gets details for files in a directory or a specific file.
(string) (Required) Path to directory or file.
(bool) (Optional) Whether to include details of hidden ("." prefixed) files.
Default value: true
(bool) (Optional) Whether to recursively include file details in nested directories.
Default value: false
(array|false) Array of files. False if unable to list directory contents.
File: wp-admin/includes/class-wp-filesystem-base.php
public function dirlist( $path, $include_hidden = true, $recursive = false ) { return false; }
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_filesystem_base/dirlist