W3cubDocs

/WordPress

apply_filters( ‘wp_read_image_metadata_types’, int[] $image_types )

Filters the image types to check for exif data.

Parameters

$image_typesint[]
Array of image types to check for exif data. Each value is usually one of the IMAGETYPE_* constants.

Source

$exif_image_types = apply_filters( 'wp_read_image_metadata_types', array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) );

Changelog

Version Description
2.5.0 Introduced.

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