过滤返回的单个评论永久链接。
原型
apply_filters( 'get_comment_link', string $link, WP_Comment $comment, array $args, int $cpage )
参数
$link
(string)
评论永久链接’
$comment
(WP_Comment)
当前的评论对象。
$args
(array)
用于覆盖默认值的参数数组。
$cpage
(int)
计算出的’cpage’值。
源文件
路径:wp-includes/comment-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/get_comment_link/