Which filters or actions to use after a media upload and delete?
-
02-11-2019 - |
Question
When a media (image) is uploaded and the subsequent images are created (all the different sizes), I would like to perform a few actions. It is simple and I basically need only the new attachment ID, that would be enough.
Same during deletion: before or after deletion, I need to know which attachment ID is concerned.
Thanks for your help :)
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange