add_filter( ‘upload_mimes’, ‘my_myme_types’, 1, 1 ); function my_myme_types( $mime_types ) { $mime_types[‘vcard+json’] = ‘application/vcard+json’; // Adding .svg extension $mime_types[‘vcard+xml’] = ‘application/vcard+xml’; // Adding .json extension $mime_types[‘vcf’] = ‘application/vcf’; return $mime_types; }