Hi everyone,
I am desperately looking for a hook I can use on /wp-admin/media-new.php after images are uploaded. I've tried add_attachment, but that does nothing on this page.
Right now, I am using admin_init instead and then I check $pagenow to see if I'm on the right page. My problem, however, is that my plugin needs the ID of the file that was just uploaded, and I just can't figure out how.
Any help greatly appreciated!