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

In this article

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

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.