I am trying to allow gedcom file uploads. These files have a .ged extension.
Gedcom files do not have a mime type.
I have tried the following code with various text/types such as csv, rtf etc without success.
function my_mime_types($mime_types){
$mime_types['ged'] = 'text/csv';
return $mime_types;}
add_filter('upload_mimes', 'my_mime_types', 1, 1);
Any suggestions as to how to add this type of file extension to the permitted uploads?