0

Could you please advise on how to enable .stp file uploads in Forminator? Thank you!

I have already added .stp|application/step to the allowed file types in the field settings and also tried adding the following code to my theme’s functions.php file:

function custom_mime_types($mimes) { 
  $mimes['stp'] = 'application/step'; 
  $mimes['stp'] = 'model/step'; 
  return $mimes; 
} 
add_filter('upload_mimes', 'custom_mime_types'); 

Despite this, I still get the error:

“Sorry, you are not allowed to upload this file type.”

when testing the upload. I have also tried disabling other plugins and switching themes, but the issue persists.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.