wp_read_image_metadata

Advertisement

Summery Summery

Filters the array of meta data read from an image’s exif data.

Syntax Syntax

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

Parameters Parameters

$meta

Image meta data.

$file

Path to image file.

$image_type

Type of image, one of the IMAGETYPE_XXX constants.

$iptc

IPTC data.

$exif

EXIF data.

Source Source

File: wp-admin/includes/image.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 The $exif parameter was added.
4.4.0 The $iptc parameter was added.
2.5.0 Introduced.

Advertisement

Leave a Reply