/ Published in: PHP

This code allows the upload of files with extensions usually forbidden in wordpress
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php add_filter('upload_mimes','customprefix_upload_mimes'); function customprefix_upload_mimes($mimes){ 'ac3' => 'audio/ac3', 'mpa' => 'audio/MPA', 'flv' => 'video/x-flv' )); } ?>
Comments
