A WordPress-centric search engine for devs and theme authors



wp_read_image_metadata ›

Since5.0.0
Deprecatedn/a
apply_filters( 'wp_read_image_metadata', $meta, $file, $image_type, $iptc, $exif )
Parameters: (5)
  • (array) $meta Image meta data.
    Required: Yes
  • (string) $file Path to image file.
    Required: Yes
  • (int) $image_type Type of image, one of the `IMAGETYPE_XXX` constants.
    Required: Yes
  • (array) $iptc IPTC data.
    Required: Yes
  • (array) $exif EXIF data.
    Required: Yes
Defined at:
Codex:

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





Source

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