comment_reply_link( array $args = array(), int|WP_Comment $comment = null, int|WP_Post $post = null )
Displays the HTML content for reply to comment link.
Contents
Description
See also
Parameters
-
$args
array Optional -
Override default options.
Default:
array()
-
$comment
int|WP_Comment Optional -
Comment being replied to. Default current comment.
Default:
null
-
$post
int|WP_Post Optional -
Post ID or WP_Post object the comment is going to be displayed on.
Default current post.Default:
null
Source
File: wp-includes/comment-template.php
.
View all references
function comment_reply_link( $args = array(), $comment = null, $post = null ) {
echo get_comment_reply_link( $args, $comment, $post );
}
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Top ↑
Feedback
按照文档,可以这样:
__('回复' , 'muze'), 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
— By muze233 —Replace class on reply link using below code.
Usage