Forums
(@elena010)
5 years, 7 months ago
function add_dxf_support($mimes) { $mimes['dxf'] = 'application/dxf'; return $mimes; } add_filter('upload_mimes','add_dxf_support');
All such plugins have an error – mime type is application/dxf, not image/vnd.dxf. Use the code above.