get_comment_link

最后更新于:2021-11-26 22:28:59

apply_filters( ‘get_comment_link’, string $link, GC_Comment $comment, array $args, int $cpage )

Filters the returned single comment permalink.

参数

$link

(string)
The comment permalink with ‘#comment-$id’ appended.

$comment

(GC_Comment)
The current comment object.

$args

(array)
An array of arguments to override the defaults.

$cpage

(int)
The calculated ‘cpage’ value.

源文件

文件: gc-includes/comment-template.php

View on Trac