{ Array of upload data. @type string $file Filename of the newly-uploaded file. @type string $url URL of the newly-uploaded file. @type string $type Mime type of the newly-uploaded file.}
$filestring
Filename of the newly-uploaded file.
$urlstring
URL of the newly-uploaded file.
$typestring
Mime type of the newly-uploaded file.
$contextstring
The type of upload action. Values include 'upload' or 'sideload'.
1067* @type string$file Filename of the newly-uploaded file.1068* @type string$urlURL of the newly-uploaded file.1069* @type string$type Mime type of the newly-uploaded file.1070*}1071* @param string$context The type of upload action. Values include'upload'or'sideload'.1072*/1073returnapply_filters(1074'wp_handle_upload',1075array(1076'file'=>$new_file,1077'url'=>$url,1078'type'=>$type,1079),
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.