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



comment_link › WordPress过滤钩子

Since3.6.0
已弃用n/a
› apply_filters( 'comment_link', get_comment_link( $comment )
参数:
  • () comment_permalink The current comment permalink.
    Required: Yes
查看:
  • get_comment_link()
定义在:
文档:

Filters the current comment's permalink.





源码

echo esc_url( apply_filters( 'comment_link', get_comment_link( $comment ) ) );