WPDev.one
Core Function
View Source on Trac ↗

wp_is_heic_image_mime_type()

wp_is_heic_image_mime_type( mixed $mime_type )

Checks if a mime type is for a HEIC/HEIF image.

Parameters 1 required

Name / Type Description
$mime_type
string

The mime type to check.

Required

Return Value

(bool)
Whether the mime type is for a HEIC/HEIF image.

Function Information

Since Version
6.7.0
Source File
wp-includes/functions.php
Advertisement