comments_link_feed
apply_filters( ‘comments_link_feed’, string $comment_permalink )
过滤钩子:过滤当前文章的评论permalink。
Filter Hook: Filters the comments permalink for the current post.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$comment_permalink | (string) | 当前注释永久链接,并附加“#comments”。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.6.0 | wp-includes/feed.php:263 | 1 | 0 |
comments_link_feed 为WP2原创文章,链接:https://www.wp2.cn/hook/comments_link_feed/