{ 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'.
1060* @type string$file Filename of the newly-uploaded file.1061* @type string$urlURL of the newly-uploaded file.1062* @type string$type Mime type of the newly-uploaded file.1063*}1064* @param string$context The type of upload action. Values include'upload'or'sideload'.1065*/1066returnapply_filters(1067'wp_handle_upload',1068array(1069'file'=>$new_file,1070'url'=>$url,1071'type'=>$type,1072),
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.