WP User Frontend
[resolved] Only Allow Certian Attachment File Type (2 posts)

  1. ianbee
    Posted 3 years ago #

    I'm in a bit of a pickle at the moment, and to be honest it sucks. :( A huge element / factor I need to get working for this site I'm making is making it so you can only upload one attachment file type... .mp3 So if you try to upload a .jpg .png .mp4 or anything like that, it will simply not work and give you a generic error message. The only file type that should only be allowed in an attachement upload should be a .mp3 file... If anyone could help me to get this working, it would honestly mean so so much to me! :)


  2. ianbee
    Posted 3 years ago #

    just figured out how, I replaced the "*" with "mp3"

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.