Tet banner

Custom Fields
Support General Question: Restrict Mime Type(s) for Fiel/Image uploads

  • Creator
  • #28169
    Resolved Austin Passy

    Is there a way to restrict the mime type for any upload field, including auto filtering of mime type in the media library on popup?

    For example, I would like to use the single_image field, and only allow PNGs in this field.

Viewing 1 replies (of 1 total)
  • Author
  • #28180
    Long Nguyen

    Hi Austin,

    You can use the filter upload_mimes to restrict file type when uploading to the media library.

    But use this filter for a specific field, is not possible.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.