Hi, I’m struggling a bit on this one and hope you can help with some advice or guidance 🙂
I want to allow users the ability to upload a file but I want to restrict it to a specific file type.
So for example
I want customers to upload two files.
One ACF file upload field would be for a .png file.
One ACF file upload field would be for a .pdf file.
At the moment we can only seem to upload any file type (which goes into the media libarary).
Any ideas or tips please?
Hi @codynew
Currently, I don’t have a solution for this, but I wonder if google may reveal someones code which could help you achieve the filter.
ACF uses the exact same javascript uploader as WordPress, so if someone has written about a solution, you will most likely be able to integrate it with ACF
If you do find a solution, it would be great if you could link us to it to help future readers
Sorry I can’t be of much help on this one.
Thanks
E
Was a solution ever found for this? I have the same issue.