Changeset 49927 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r49845 r49927 131 131 * @param int $levels Optional. Levels of folders to follow, Default 100 (PHP Loop limit). 132 132 * @param string[] $exclusions Optional. List of folders and files to skip. 133 * @return bool|string[] False on failure, else array of files.133 * @return false|string[] False on failure, else array of files. 134 134 */ 135 135 function list_files( $folder = '', $levels = 100, $exclusions = array() ) { … … 999 999 * @see _wp_handle_upload() 1000 1000 * 1001 * @param array $file Reference to a single element of `$_FILES`.1002 * Call the function once for each uploaded file.1003 * @param array| bool$overrides Optional. An associative array of names => values1004 * to override default variables. Default false.1005 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null.1001 * @param array $file Reference to a single element of `$_FILES`. 1002 * Call the function once for each uploaded file. 1003 * @param array|false $overrides Optional. An associative array of names => values 1004 * to override default variables. Default false. 1005 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. 1006 1006 * @return array On success, returns an associative array of file attributes. 1007 1007 * On failure, returns `$overrides['upload_error_handler']( &$file, $message )` … … 1030 1030 * @see _wp_handle_upload() 1031 1031 * 1032 * @param array $file Reference to a single element of `$_FILES`.1033 * Call the function once for each uploaded file.1034 * @param array| bool$overrides Optional. An associative array of names => values1035 * to override default variables. Default false.1036 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null.1032 * @param array $file Reference to a single element of `$_FILES`. 1033 * Call the function once for each uploaded file. 1034 * @param array|false $overrides Optional. An associative array of names => values 1035 * to override default variables. Default false. 1036 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. 1037 1037 * @return array On success, returns an associative array of file attributes. 1038 1038 * On failure, returns `$overrides['upload_error_handler']( &$file, $message )`
Note: See TracChangeset
for help on using the changeset viewer.