Support » Fixing WordPress » Allow Upload .vcf in WordPress 5.0.3

  • How can I allow to upload .vcf?
    I Already tried something like…

    function be_enable_vcard_upload( $mime_types ){
    	$mime_types['vcf'] = 'text/x-vcard';
    	return $mime_types;
    }
    add_filter('upload_mimes', 'be_enable_vcard_upload' );

    But this doesnet work.

Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.