• Resolved martine12

    (@martine12)


    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

    The page I need help with: [log in to see the link]

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