[wp-hackers] Help with mime types
wpmidia lab
wpmidia at gmail.com
Fri Feb 24 13:40:11 UTC 2012
Hello people!
I need to allow *.SWF* file upload in my WordPress instalation for my
banners system.
I have tried this (without success):
function new_mime_types($mimes) {
if( ! isset( $mimes['flash'] ) ) $mimes['flash'] = 'application/
x-shockwave-flash';
return $mimes;
}
add_filter('upload_mimes', 'new_mime_types');
Somebody can help me?
Thanks! =)
--
*Míriam de Paula *
*(a.k.a. Drika)*
*Twitter:* @miriamdepaula
wp*midia*
*desenvolvimento web*
http://wpmidia.com.br
twitter: @wpmidia
*WordPress Brasil no Facebook: *
http://www.facebook.com/groups/wordpress.brasil
*OpenCart Brasil no Facebook:*
http://www.facebook.com/groups/opencart.brasil/
More information about the wp-hackers
mailing list