How to change image atributes right before an image to be saved?

by Rogério Dec   Last Updated September 11, 2019 20:08 PM

I have an installed plugin to import XML content, but it can't change some meta-data of the new image that will be saved.

For example, I'd like to intercept the action of saving an image BEFORE its saving and change many meta, like Title, Alt Text, Description, etc.

How to do this?



Related Questions



Get updated meta data after save_post hook

Updated September 04, 2017 05:08 AM


Attachment metadata randomly missing

Updated February 28, 2019 17:08 PM

Hook after post was created to update Custom Fields

Updated November 03, 2017 15:08 PM