Home Forums Plugin Support WP User Frontend Pro Limit files types

This topic is: not resolved

Tagged: , , , ,

This topic contains 2 replies, has 3 voices, and was last updated by  Flavio 3 years, 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25681

    George
    Member

    Hi, is there a way to limit to just MP3?

    I gives me option of audio files only but my audio player only works with mp3's

    #25815

    Sekander Badsha
    Member
    Post count: 2067

    Hello George,
    Sure! There's a file on the root of the plugin named “wpuf-functions.php” and inside that there is a filter named wpuf_allowed_extensions. You can use this filter to allow or disallow any file type you wish.

    #45137

    Flavio
    Member
    Post count: 18

    Hello Sekander,

    How exactly can I limit uploads to .jpeg and .png only?

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Limit files types’ is closed to new replies.