wp_show_heic_upload_error( array[] $plupload_settings ): array[]

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


Parameters

$plupload_settings array[] Required
The settings for Plupload.js.

Top ↑

Return

array[] Modified settings for Plupload.js.


Top ↑

Source

File: wp-includes/media.php. View all references

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

Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.