wp_handle_sideload


wp_handle_sideload ( $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:

Description

Wrapper for _wp_handle_upload().Passes the {@see 'wp_handle_sideload'} action.

Related Functions

media_handle_sideload, wp_handle_upload, _wp_handle_upload, wp_embed_handler_video, wp_import_handle_upload

Top Google Results

User discussions

wpseek mobile