[wordpress插件] Comments with files带文件的注释

wordpress 插件 文章 2020-03-29 09:50 563 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

FEATURES

功能

– Add attachments(multipe) in comments

–在评论中添加附件(多个)

– Checking attachments before uploads

–上传之前检查附件

– View attached attachment

–查看附件附件

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

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 :

示例:

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;

}

}

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/comments-with-files directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / comments-with-files 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

下载地址
https://downloads.wordpress.org/plugin/comments-with-files.1.0.0.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] CF7 Doar TrackingCF7追踪
[wordpress插件] Customizer EX定制器EX
[wordpress插件] FOP ProFOP专业版
[wordpress插件] Digital Clock数码时钟
[wordpress插件] Debug Bar Query Count Alert调试栏查询计数警报
随便看看
微信设置不可以使用小程序(游戏小程序) 5636
adsense申请已经支付的订单回退的网址 3212
BT面板查看网站入口、账号密码的命令 6009
ucloud海外服务器超级优惠券 3274
根据您的消费情况,您的延停权益已发生变化,变更后的延停权益为延停额度20.00元 5831
为什么我们喜欢迈克尔杰克逊。 4164
阿里云com、cn域名续费优惠码(2020年5月可用) 3586
阿里云com、cn域名续费优惠码(2020年6月可用) 3606
微信公众号开五联增值税发票怎么处理 2950
仙之侠道幻彩衣的合成和属性预览 4316