comment_link

过滤钩子
apply_filters( 'comment_link', get_comment_link( $comment )
参数
  • (string) $comment_permalink The current comment permalink.
    Required:
定义位置
相关勾子
get_comment_linkget_comments_linkedit_comment_linkpost_comments_linkcomment_reply_link
相关方法
comment_linkcomments_linkget_comment_linkget_comments_linkedit_comment_linkcomments_rss_link
引入
3.6.0
弃用
-

comment_link。这个过滤钩子允许开发者改变评论的固定链接。

过滤当前评论的固定链接。

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

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-05 20:33:00

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: