5657functionwp_show_heic_upload_error($plupload_settings){5658// Check if HEIC images can be edited.5659if(!wp_image_editor_supports(array('mime_type'=>'image/heic'))){5660$plupload_init['heic_upload_error']=true;5661}5662return$plupload_settings;5663}
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
6.7.0
The default behavior is to enable heic uploads as long as the server supports the format. The uploads are converted to JPEG's by default.from the docblock
5.5.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 6.7.7 tag, from src/wp-includes/media.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.