wp_read_image_metadata_types WordPress Filter Hook
This hook allows you to add additional image metadata types to be read from an image file. It is called after the default image metadata types have been read, but before any user-defined image metadata types have been read.
apply_filters( 'wp_read_image_metadata_types', int[] $image_types ) #
Filters the image types to check for exif data.
Parameters
- $image_types
(int[])Array of image types to check for exif data. Each value is usually one of the
IMAGETYPE_*
constants.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |