函数原型
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.
是否弃用
未弃用
函数参数
-
$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
函数返回值
无
函数位置
File: wp-includes/comment-template.php.
函数源码
function comment_reply_link( $args = array(), $comment = null, $post = null ) {
echo get_comment_reply_link( $args, $comment, $post );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |

