I’m using wp_handle_upload
to allow users upload .csv
files in the front end and it’s working fine. I was wondering how can I limit this to only allow .csv
files though since currently it accepts a wide variety of file types. According to the doc this should be possible by overriding the $overrides
param but I’m not sure what should I pass it to do so.
Thanks in advance!