Created
March 17, 2023 10:38
-
-
Save nkb-bd/c5218e90aaa184d095200eb58b297e72 to your computer and use it in GitHub Desktop.
ff file upload issue fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Please remove and add the file input again to work properly. | |
add_filter('fluentform_file_type_options', function ($options) { | |
$options[2]['value'] = 'avi|divx|flv|mov|ogv|mkv|mp4|m4v|divx|mpg|mpeg|mpe|qt'; | |
return $options; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment