wp_show_heic_upload_error( array[] $plupload_settings )

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


Parameters Parameters

$plupload_settings

(array[]) (Required) The settings for Plupload.js.


Top ↑

Return Return

(array[]) Modified settings for Plupload.js.


Top ↑

Source Source

File: wp-includes/media.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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