Add Vcard support to your WordPress file upload ACF

How to enable Vcard support to your WordPress theme because it won’t let you!

Add this function to your theme’s functions file

/*
	Add V card support
_______________________________________________
*/ 
add_filter('upload_mimes', 'custom_upload_mimes');
function custom_upload_mimes ( $existing_mimes=array() ) {
// add your extension to the array
$existing_mimes['vcf'] = 'text/x-vcard';
	return $existing_mimes;
}

Then add this line to your htaccess file:

AddType application/octet-stream vcf

Now your site will allow you to upload Vcards