comment_excerpt_length
apply_filters( ‘comment_excerpt_length’, int $comment_excerpt_length )
过滤器::过滤注释摘录中使用的最大字数。
Filter Hook: Filters the maximum number of words used in the comment excerpt.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$comment_excerpt_length | (int) | 要在注释摘录中显示的字数。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.4.0 | wp-includes/comment-template.php:610 | 1 | 0 |
comment_excerpt_length 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_excerpt_length/