Support » Plugin: DCO Comment Attachment » No Matter what I select in Allowed File Types it always show all options

  • Great plugin,

    I have disabled archive file attachments in Allowed File Types settings.

    on comment form it shows all of them in the message below.

    HTML of this message is not good. I cant even hide the message with CSS.

    The maximum upload file size: 128 MB.
    You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, other.
    Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded.

    Please consider it as improvement.

Viewing 1 replies (of 1 total)
  • I was able to hide this by using the following code via a PHP inserter plugin:

    add_filter( ‘dco_ca_form_element_file_types’, ‘__return_empty_string’ );

    • This reply was modified 2 months, 2 weeks ago by ryanworthen.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.