WordPress at Your Fingertips
filter is not described

wp_read_image_metadata filter-hook . WP 2.5.0

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


add_filter( 'wp_read_image_metadata', 'filter_function_name_3915', 10, 5 );
function filter_function_name_3915( $meta, $file, $image_type, $iptc, $exif ){
	// filter...

	return $meta;
Image meta data.
Path to image file.
Type of image, one of the IMAGETYPE_XXX constants.
IPTC data.
EXIF data.


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

Where the hook is called

wp-admin/includes/image.php 890
return apply_filters( 'wp_read_image_metadata', $meta, $file, $image_type, $iptc, $exif );

Where in WP core the hook is used WordPress

Usage not found.