comment_reply_link()

最后更新于:2021-11-25 21:26:44

comment_reply_link( array$args=array(), int|GC_Comment$comment=null, int|GC_Post$post=null)

Displays the HTML content for reply to comment link.

参数

$args

(array) (Optional) Override default options.

Default value: array()

$comment

(int|GC_Comment) (Optional) Comment being replied to. Default current comment.

Default value: null

$post

(int|GC_Post) (Optional) Post ID or GC_Post object the comment is going to be displayed on. Default current post.

Default value: null

源文件

文件: gc-includes/comment-template.php

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