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

Displays the HTML content for reply to comment link.


Description

See also


Parameters

$args

(array) (Optional) Override default options.

Default value: array()

$comment

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

Default value: null

$post

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

Default value: null


Return

(mixed) Link to show comment form, if successful. False, if comments are closed.


Source

File: wp-includes/comment-template.php

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


Changelog

Changelog
Version Description
WP-2.7.0 Introduced.