A WordPress-centric search engine for devs and theme authors



comment_reply_link ›

Since2.7.0
Deprecatedn/a
comment_reply_link ( $args = array(), $comment = null, $post = null )
Parameters: (3)
  • (array) $args Optional. Override default options.
    Required: No
    Default: array()
  • (int) $comment Comment being replied to. Default current comment.
    Required: No
    Default: null
  • (int|WP_Post) $post Post ID or WP_Post object the comment is going to be displayed on. Default current post.
    Required: No
    Default: null
See:
Returns:
  • (mixed) Link to show comment form, if successful. False, if comments are closed.
Defined at:
Codex:

Displays the HTML content for reply to comment link.



Source

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