W3cubDocs

/WordPress

apply_filters( 'getimagesize_mimes_to_exts', array $mime_to_ext )

Filters the list mapping image mime types to their respective extensions.

Parameters

$mime_to_ext

(array) Array of image mime types and their matching extensions.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/getimagesize_mimes_to_exts