apply_filters( ‘wp_read_image_metadata’, array $meta, string $file, int $image_type, array $iptc, array $exif )

In this article

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_XXX constants.
$iptcarray
IPTC data.
$exifarray
EXIF data.

Source

return apply_filters( 'wp_read_image_metadata', $meta, $file, $image_type, $iptc, $exif );

Changelog

VersionDescription
5.0.0The $exif parameter was added.
4.4.0The $iptc parameter was added.
2.5.0Introduced.

User Contributed Notes

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