Forums
(@elena010)
4 years 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.