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



get_comment_link › WordPress过滤钩子

Since4.4.0
已弃用n/a
apply_filters( 'get_comment_link', $comment_link, $comment, $args, $cpage )
参数: (4)
  • (string) $comment_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
定义在:
文档:

Filters the returned single comment permalink.





源码

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