mime_types

mime_types

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.0.3

apply_filters('mime_types') is found 1 times:

  • /wp-includes/functions.php line 2496
    	 *
    	 * @param array $wp_get_mime_types Mime types keyed by the file extension regex
    	 *                                 corresponding to those types.
    	 */
    	return apply_filters( 'mime_types', array(
    	// Image formats.
    	'jpg|jpeg|jpe' => 'image/jpeg',
    	'gif' => 'image/gif',
    	'png' => 'image/png',
    	'bmp' => 'image/bmp',
    	'tiff|tif' => 'image/tiff',