WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
[resolved] Possible to restrict file types for upload? (3 posts)

  1. RRikesh
    Member
    Posted 1 year ago #

    Hello Elliot

    I'm using the file upload field. Is it possible to allow only a predefined list of file extensions to be uploaded?

    Thanks

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. elliotcondon
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @RRikesh

    Currently, no. However, the file field uses the native WP uploader. Perhaps you can find a plugin to restrict file types for the WP uploader?

  3. RRikesh
    Member
    Posted 1 year ago #

    I managed a way to filter the file type on upload.

    I used the answer from that question:
    http://wordpress.stackexchange.com/q/8107/17305

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags