Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dct_allow_upload_swf($existing_mimes) {
- $existing_mimes['swf'] = 'text/swf'; //allow swf files
- return $existing_mimes;
- }
- add_filter('upload_mimes', 'dct_allow_upload_swf');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement