WordPress开发者和主题制作者的搜索引擎



get_comment_link ›

Since4.4.0
已弃用n/a
apply_filters( 'get_comment_link', $link, $comment, $args, $cpage )
参数: (4)
  • (string) $link The comment permalink with '#comment-$id' appended.
    Required: Yes
  • (WP_Comment) $comment The current comment object.
    Required: Yes
  • (array) $args An array of arguments to override the defaults.
    Required: Yes
  • (int) $cpage The calculated 'cpage' value.
    Required: Yes
查看:
  • get_page_of_comment()
定义在:
文档:

Filters the returned single comment permalink.





源码

return apply_filters( 'get_comment_link', $link, $comment, $args, $cpage );