wp_handle_upload
wp_handle_upload ( $file, $overrides = false, $time = null )
Parameters:- (array) file Reference to a single element of `$_FILES`. Call the function once for each uploaded file. See _wp_handle_upload() for accepted values.
- (array|false) overrides Optional. An associative array of names => values to override default variables. Default false. See _wp_handle_upload() for accepted values.
- (string|null) time Optional. Time formatted in 'yyyy/mm'. Default null.
See:Returns:- (array) See _wp_handle_upload() for return value.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
Wrapper for _wp_handle_upload().Passes the {@see 'wp_handle_upload'} action.