Comments With Files Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
FEATURES
– Add attachments(multipe) in comments
– Checking attachments before uploads
– View attached attachment
The default file types allowed :
– doc, xls, ppt
– xlsx, docx, pptx
– odt, ods
– pdf,
– gif, jpeg, png
The plugin uses the hook “filter_get_file_mime_types” : It allows to manage the types of files allowed.
Example :
add_filter( 'filter_get_file_mime_types' , 'filter_get_file_mime_types_custom' );
function filter_get_file_mime_types_custom( $types ) {
$types[] = 'text/plain';
return $types;
}