WordPress.org

Ready to get started?Download WordPress

Forums

Attachments
Still there is no code for all type of filetypes & mime types (4 posts)

3 stars
  1. krunalshah1402
    Member
    Posted 8 months ago #

    there is no code for mimetypes. if i want to get filetype like image , video , audio , pdf , excel ,doc and all then there is no such thing in your code.

    if you want that one, i have tried to edit in your code and working successfully, you can contact me.

    thanks.

  2. Jonathan Christopher
    Member
    Plugin Author

    Posted 8 months ago #

    Support for limiting file types has been present since 3.0 as per the documentation:

    https://github.com/jchristopher/attachments/blob/3.5.2/docs/usage.md#create-custom-instances

    Please check out the filetype parameter specifically.

  3. Jonathan Christopher
    Member
    Plugin Author

    Posted 8 months ago #

    Further, I just want to call attention to the fact that Attachments is on GitHub, if you've got code you'd like to see in the plugin I would love to check out a pull request.

  4. Camilo
    Member
    Posted 1 month ago #

    Another invalid review.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.