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



comment_link › WordPress过滤钩子

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

Filters the current comment's permalink.





源码

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