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.