Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function wpcraft_zip_gzip_mime_types ( $mimes ) {
- $existing_mimes['zip'] = 'application/zip';
- $existing_mimes['gz'] = 'application/x-gzip';
- return $mimes;
- }
- add_filter('upload_mimes', 'wpcraft_zip_gzip_mime_types');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement