Wordpress 钩子:wp_get_comment_fields_max_lengths
文章目录
过滤注释表单字段的长度。
原型
apply_filters( 'wp_get_comment_fields_max_lengths', array $lengths )
参数
$lengths
(array)
关联数组’field_name'=>'最大长度’。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_get_comment_fields_max_lengths/
文章作者 iBllex
上次更新 2019-02-17