post_reply_link

函数


post_reply_link ( $args = array(), $post = null )
参数
  • (array)
    $args
    Optional. Override default options. Default empty array.
    Required:
    Default: array()
  • (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_post_reply_link()
定义位置
  • wp-includes/comment-template.php
    , line 1879
引入
2.7.0
弃用

显示回复文章链接的HTML内容。

function post_reply_link( $args = array(), $post = null ) {
	echo get_post_reply_link( $args, $post );
}