B-219 Sec-55 Noida, India
+918010221733

Upload additional extensions in your wordpress website

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;
}

(Visited 40 times, 1 visits today)

Leave a reply