On this page
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
$metaarray-
Image meta data.
$filestring-
Path to image file.
$image_typeint-
Type of image, one of the
IMAGETYPE_XXXconstants. $iptcarray-
IPTC data.
$exifarray-
EXIF data.
Source
File: wp-admin/includes/image.php. View all references
return apply_filters( 'wp_read_image_metadata', $meta, $file, $image_type, $iptc, $exif );
Related
Used By
| Used By | Description |
|---|---|
| wp_read_image_metadata() wp-admin/includes/image.php | Gets extended image metadata, exif or iptc as available. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_read_image_metadata