[wp-hackers] Hooks on image upload

William P. Davis will.davis at gmail.com
Sat Jan 8 23:19:10 UTC 2011


Thanks Iain!
Sent from my BlackBerry® wireless device

-----Original Message-----
From: Iain Cambridge <wackiebackie at gmail.com>
Sender: wp-hackers-bounces at lists.automattic.com
Date: Sat, 8 Jan 2011 23:17:21 
To: <wp-hackers at lists.automattic.com>
Reply-To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] Hooks on image upload

I use the "wp_generate_attachment_metadata" filter to handle media uploads.

Iain

On Sat, Jan 8, 2011 at 10:55 PM, William P. Davis <will.davis at gmail.com> wrote:
> I'm creating a little plugin that automatically changes the author
> field of an image on upload based on the image's metadata, but I can't
> seem to find a filter or action to hook into. This is actually going
> to be used with Scott Bressler's Media Credit plugin — right now the
> person who uploads the image is automatically set as the author. I've
> got a function all set to change the author based on the exif data,
> but, as I said, there doesn't seem to be any actions I can hook into
> to run the function.
>
> Will
>_______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list