When I try to upload a
*.prc file type, I get this error:
Sorry, this file type is not permitted for security reasons.
How can I fix this?
Add following code in your themes
For more information see this codex page.
This article explains a method in which you can add a file type to the list of allowed file types.
Copy and paste the following code into your
I didn't tested the code, but I hope it will help you along.