AI助手支持GPT4.0
FEATURES
功能
– Add attachments(multipe) in comments
–在评论中添加附件(多个)
– Checking attachments before uploads
–上传之前检查附件
– View attached attachment
–查看附件附件 p>
The default file types allowed :
允许的默认文件类型:
– doc, xls, ppt
– doc,xls,ppt
– xlsx, docx, pptx
– xlsx,docx,pptx
– odt, ods
– ods,ods
– pdf,
– pdf,
– gif, jpeg, png
– gif,jpeg,png p>
The plugin uses the hook “filter_get_file_mime_types” : It allows to manage the types of files allowed.
该插件使用钩子“ filter_get_file_mime_types”:它允许管理允许的文件类型。
Example :
示例: p>
add_filter( 'filter_get_file_mime_types' , 'filter_get_file_mime_types_custom' ); add_filter('filter_get_file_mime_types','filter_get_file_mime_types_custom');function filter_get_file_mime_types_custom( $types ) { 函数filter_get_file_mime_types_custom($ types){ $types[] = 'text/plain'; $ types [] ='text / plain'; return $types;返回$ types;}} code> pre>
add_filter('filter_get_file_mime_types','filter_get_file_mime_types_custom');function filter_get_file_mime_types_custom( $types ) { 函数filter_get_file_mime_types_custom($ types){ $types[] = 'text/plain'; $ types [] ='text / plain'; return $types;返回$ types;}}
function filter_get_file_mime_types_custom( $types ) {
函数filter_get_file_mime_types_custom($ types){
$types[] = 'text/plain';
$ types [] ='text / plain';
return $types;
返回$ types;
}
code> pre>
/wp-content/plugins/comments-with-files
/ wp-content / plugins / comments-with-files code>目录,或直接通过WordPress插件屏幕安装插件。 li>Activate the plugin through the ‘Plugins’ screen in WordPress通过WordPress中的“插件”屏幕激活插件 li>
ol>
原文出处:http://www.sanshu.cn/a/8135.html
群主管理都是支付大佬