getimagesize_mimes_to_exts

getimagesize_mimes_to_exts

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.0.3

apply_filters('getimagesize_mimes_to_exts') is found 1 times:

  • /wp-includes/functions.php line 2317
    			 * @since 3.0.0
    			 *
    			 * @param  array $mime_to_ext Array of image mime types and their matching extensions.
    			 */
    			$mime_to_ext = apply_filters( 'getimagesize_mimes_to_exts', array(
    				'image/jpeg' => 'jpg',
    				'image/png'  => 'png',
    				'image/gif'  => 'gif',
    				'image/bmp'  => 'bmp',
    				'image/tiff' => 'tif',
    			) );