wp_read_image_metadata_types WordPress Filter Hook

This hook allows you to add additional image metadata types to be read from an image file. It is called after the default image metadata types have been read, but before any user-defined image metadata types have been read.

apply_filters( 'wp_read_image_metadata_types', int[] $image_types ) #

Filters the image types to check for exif data.


Parameters

$image_types

(int[])Array of image types to check for exif data. Each value is usually one of the IMAGETYPE_* constants.


Top ↑

Source

File: wp-admin/includes/image.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.