A WordPress-centric search engine for devs and theme authors



wp_read_image_metadata ›

Since4.4.0
Deprecatedn/a
apply_filters( 'wp_read_image_metadata', $meta, $file, $sourceImageType, $iptc )
Parameters: (4)
  • (array) $meta Image meta data.
    Required: Yes
  • (string) $file Path to image file.
    Required: Yes
  • (int) $sourceImageType Type of image.
    Required: Yes
  • (array) $iptc IPTC 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, $sourceImageType, $iptc );