Support › General › Restrict file type with File Upload fieldResolved
I am using the basic file upload field (not Wp media uploader), and want to limit the uploaded filetypes to only JPG and PNG.
Is this possible?
Currently, it is not possible. There is no option to restrict the file type when uploading with the field type file_upload. You can use another field type like file_advanced to use the WP media upload and filter hook upload_mimes to restrict file type.
Read more on the documentation https://developer.wordpress.org/reference/hooks/upload_mimes/
Its kinda of an imporant and basic thing... Are you gonna implement it or what? Jeez!
When using it in the frontend its really useless!