WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ianbee
    Member
    Posted 1 year 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! :)

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. ianbee
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.