getimagesize_mimes_to_exts WordPress Filter Hook
This hook allows you to add additional image types to the getimagesize function. It's useful for custom image types that aren't recognized by the getimagesize function.
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
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |