View Categories

Add More Attachments Type

Table of Contents

When submitting/replying to any ticket, Fluent Support allows certain types of Attachments with some specific regulations such as Photos, CSV, PDF/Docs, Zip, and JSON. But, if you want you can add more Attachment Types if needed. This article will guide you through the process of Adding more Attachment Types.

Add More Attachment Types #

To learn how to add more attachment types, follow the steps with screenshots below —

You can add more attachment types using the “fluent_support/mime_groups” filter and the “add_filter” hook.

For example, I added the “HTML” file type here by using the following Shortcode.

You can easily add this code to your site using a code snippet plugin.

We recommend using FluentSnippet for a seamless experience on your WordPress site. However, feel free to use any snippet plugin of your choice.

Steps to Add the Code Snippet:

  1. Open FluentSnippet and click on the Create Snippet button.
  2. Paste the following code into the code editor field.
  3. Once done, Publish the snippet to activate it.

Now, you can see an “HTML” file type is added to the Accepted File Types under the Fluent Support’s Settings or Global Settings.

HTML file type added in Accepted File Types

Also, if you want to make any changes in any of the existing file types, you can do it by using the “fluent_support/mime_groups” filter and the “add_filter” hook.

For example, I make changes to the Photos (Image) file type here by using the following Shortcode.

If you have any further questions, concerns, or suggestions, please do not hesitate to contact our @support team. Thank you.