1126functionwp_handle_sideload(&$file,$overrides=false,$time=null){1127/*1128 * $_POST['action'] must be set and its value must equal $overrides['action']1129 * or this:1130 */1131$action='wp_handle_sideload';1132if(isset($overrides['action'])){1133$action=$overrides['action'];1134}11351136return_wp_handle_upload($file,$overrides,$time,$action);1137}
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 6.8.8 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.