wp_read_image_metadata ( $file )

  • (string) file
  • (array|false) Image metadata array on success, false on failure.
Defined at:


Gets extended image metadata, exif or iptc as available.Retrieves the EXIF metadata aperture, credit, camera, caption, copyright, iso created_timestamp, focal_length, shutter_speed, and title. The IPTC metadata that is retrieved is APP13, credit, byline, created date and time, caption, copyright, and title. Also includes FNumber, Model, DateTimeDigitized, FocalLength, ISOSpeedRatings, and ExposureTime.

Related Functions

wp_read_video_metadata, wp_read_audio_metadata, update_metadata, wp_add_id3_tag_data, wp_get_image_editor

Top Google Results

User discussions

wpseek mobile