I am using Better File Download plugin for uploading a PDF file from the Admin panel.

The issue is it allows all file type which listed in wp_get_mime_types() function.

I want to give a validation which can allow ONLY PDF file.

Any help would be appreciated.

  • Your question is better suited to the plugin's official support streams. – Pat J Sep 17 '19 at 13:35
  • Thanks for response.. – Ravi Soni Sep 17 '19 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.