I have an images collection and I upload images from different places, and when I upload/edit from a specific collection I want to run some specific code via a hook, but ONLY when I edit from a specific collection.
Example
upload/edit image from images collection or from x collection -> don't do anything
upload/edit image from y collection -> run specific code via a hook