[wp-hackers] Additional file upload writeboxes for posts

graq wordpress at graq.co.uk
Wed Jun 1 19:47:45 UTC 2011


On 31/05/2011 16:40, Rafael Ehlers wrote:
> Use this plugin http://wordpress.org/extend/plugins/attachments/
Brilliant, thanks. Perfect introduction into popup Media integration.

> On Tue, May 31, 2011 at 12:21 PM, Travis Northcutt<
> travis at travisnorthcutt.com>  wrote:
>> I don't have any advice regarding how to restrict the file types allowed,
There is an upload_mimes filter: 
http://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes
However tuning it to be restrictive to specific CPT, let alone to a 
particular write box doesn't look possible without actual hacking.


More information about the wp-hackers mailing list