Quantcast
Viewing all articles
Browse latest Browse all 1455

STL Format

Replies: 2

Hi,
I can’t upload a STL Format to my Contact form.
I added these snippet tu my mu-plugins. I Can upload STL to my Media Library but noct to the contact form.

<?php

add_filter( ‘upload_mimes’, ‘wpmudev_stl_gcode_add_upload_mime’ );
function wpmudev_stl_gcode_add_upload_mime( $mime_types ) {
$mime_types[‘stl’] = ‘application/sla’;
return $mime_types;
}


Best regards
Martin


Viewing all articles
Browse latest Browse all 1455

Trending Articles