[wp-hackers] Filters or action hooks: After media is uploaded
Paul
paul at codehooligans.com
Thu Apr 14 11:49:18 UTC 2011
On Apr 14, 2011, at 2:05 AM, Tobias Davis wrote:
> Being a visual person, I thought a good screenshot might be more helpful:
> http://www.tobiaslabs.com/?attachment_id=626
>
There are two hooks (filters)
attachment_fields_to_edit
attachment_fields_to_save
In typical WP fashion like adding to the taxonomy term and user you don't have complete control. You can add fields via the 'attachment_fields_to_edit' filter. But for example you cannot alter the default. Hope this gets you started.
P-
More information about the wp-hackers
mailing list