//add allowable file types to wordpress media uploader function custom_mime_types( $mimes ){ $mimes['vcf'] = 'text/vcard'; //allowing .cvf filetypes //additional filetypes can go here return $mimes; } add_filter( 'upload_mimes', 'custom_mime_types' );