comment_reply_link

函数
comment_reply_link ( $args = array(), $comment = null, $post = null )
参数
  • (array) $args Optional. Override default options. Default empty array.
    Required:
    Default: array()
  • (int|WP_Comment) $comment Comment being replied to. Default current comment.
    Required:
    Default: null
  • (int|WP_Post) $post Post ID or WP_Post object the comment is going to be displayed on. Default current post.
    Required:
    Default: null
相关
  • get_comment_reply_link()
定义位置
相关方法
get_comment_reply_linkcancel_comment_reply_linkcomments_rss_linkcomment_linkpost_reply_link
引入
2.7.0
弃用
-

comment_reply_link: 这个函数生成一个链接来回复一个特定的评论: 当点击时,它会打开评论表格,在”回复”字段中预先填入评论作者的名字。

显示回复评论链接的HTML内容。

function comment_reply_link( $args = array(), $comment = null, $post = null ) {
	echo get_comment_reply_link( $args, $comment, $post );
}

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-14 21:36:41

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

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

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