Add EXIF and IPTC meta data to Attachment Post


WordPress extracts some image meta data from a file when it is uploaded and adds it to the newly created Attachment Post. This Plugin extracts and saves a much wider range of EXIF and IPTC information.

This Plugin currently supports JPEG and WEBP files.

The Plugin does not add any information to Attachment Posts which have already been uploaded. (The Plugin does update the stored meta data when a new image is uploaded to an existing Attachment Post, for example when the Enable Media Replace Plugin is used.)

The information is not visible in the Media editor, but is available to developers when using the wp_get_attachment_metadata function. The data is stored in a subset of the array returned by this function, within the array key shp_additional_metadata.


$attachment_metadata = wp_get_attachment_metadata($attachment_id);


The data array can be manipulated using add_filter once it has been retrieved from the file, using the following hooks.

All additional data

All IPTC data which is added by the plugin.

apply_filters('shp_additional_metadata/iptc', $exif['iptc'], $source_path);

IPTC data

All data which is added by the plugin.

apply_filters('shp_additional_metadata/all_exif', $exif, $source_path);


  1. Install from the WordPress Plugin Directory or upload the shp_additional_metadata folder to the installation’s plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.


There are no reviews for this plugin.

Contributors & Developers

“Add EXIF and IPTC meta data to Attachment Post” is open source software. The following people have contributed to this plugin.


“Add EXIF and IPTC meta data to Attachment Post” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Add EXIF and IPTC meta data to Attachment Post” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Add WEBP support
  • Confirm functionality in WordPress 5.9.


  • Fix EXIF checks


  • Initial release.