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

In this article

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

Parameters

$plupload_settingsarray[]required
The settings for Plupload.js.

Return

array[] Modified settings for Plupload.js.

Source

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

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

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