wp_show_heic_upload_error() WordPress Function
This function displays an error message when a user attempts to upload a HEIC (High Efficiency Image Container) file to a WordPress site. The message is displayed in the WP Admin interface.
wp_show_heic_upload_error( array[] $plupload_settings ) #
Callback to enable showing of the user error when uploading .heic images.
Contents
Parameters
- $plupload_settings
(array[])(Required)The settings for Plupload.js.
Return
(array[]) Modified settings for Plupload.js.
Source
File: wp-includes/media.php
function wp_show_heic_upload_error( $plupload_settings ) { $plupload_settings['heic_upload_error'] = true; return $plupload_settings; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |