I've looked through a number of previously accepted answers, but none seem to work/apply to the latest versions of WordPress.
I'm trying to allow .rfa
file types to be uploaded to the media library.
This is what I've found from a previous answer;
function additional_mime_types($mime_types) {
$mime_types['rfa'] = 'application/octet-stream';
return $mime_types;
}
add_filter('upload_mimes', 'additional_mime_types', 1, 1);
How can I allow .rfa file types to be uploaded to the media library?