1135functionwp_handle_sideload(&$file,$overrides=false,$time=null){1136/*1137 * $_POST['action'] must be set and its value must equal $overrides['action']1138 * or this:1139 */1140$action=$overrides['action']??'wp_handle_sideload';1141return_wp_handle_upload($file,$overrides,$time,$action);1142}
History
Introduced in 2.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-admin/includes/file.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.