kodie
10/1/2015 - 8:28 PM

Allow additional file types to be uploaded to Wordpress

Allow additional file types to be uploaded to Wordpress

<?php
function add_mime_types($mime_types) {
    $mime_types['qbb'] = 'application/octet-stream';
    return $mime_types;
}
add_filter('upload_mimes', 'add_mime_types', 1, 1);
?>