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.


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

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

Top ↑

Changelog

Changelog
VersionDescription
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More