How to allow .ged file uploads
-
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?
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to allow .ged file uploads’ is closed to new replies.