WordPress at a glance
function is not described

wp_show_heic_upload_error() WP 5.5.0

Callback to enable showing of the user error when uploading .heic images.

No Hooks.

Return

Array[]. Modified settings for Plupload.js.

Usage

wp_show_heic_upload_error( $plupload_settings );
$plupload_settings(array[]) (required)
The settings for Plupload.js.

Changelog

Since 5.5.0 Introduced.

Code of wp_show_heic_upload_error() WP 5.7

<?php
function wp_show_heic_upload_error( $plupload_settings ) {
	$plupload_settings['heic_upload_error'] = true;
	return $plupload_settings;
}