apply_filters( 'wp_read_image_metadata', array $meta, string $file, int $image_type, array $iptc, array $exif )
Filters the array of meta data read from an image’s exif data.
Parameters
- $meta
-
(array) Image meta data.
- $file
-
(string) Path to image file.
- $image_type
-
(int) Type of image, one of the
IMAGETYPE_XXX
constants. - $iptc
-
(array) IPTC data.
- $exif
-
(array) EXIF data.
Source
Changelog
Version | Description |
---|---|
5.0.0 | The $exif parameter was added. |
4.4.0 | The $iptc parameter was added. |
2.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_read_image_metadata