excerpt_more
apply_filters( ‘excerpt_more’, string $more_string )
过滤钩子:过滤“更多”链接中的字符串,该链接显示在修剪的摘录之后。
Filter Hook: Filters the string in the “more” link displayed after a trimmed excerpt.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$more_string | (string) | 更多链接中显示的字符串。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.9.0 | wp-includes/formatting.php:3828 | 1 | 0 |
笔记(Notes)
如何在摘要中添加“继续阅读”链接
如何用其他字符串替换“…”?
excerpt_more 为WP2原创文章,链接:https://www.wp2.cn/hook/excerpt_more/