WordPress at a glance
function is not described

post_reply_link() WP 2.7.0

Displays the HTML content for reply to post link.

  • See: get_post_reply_link()

No Hooks.


String/true/false/null. Link to show comment form, if successful. False, if comments are closed.


post_reply_link( $args, $post );
Override default options,
Default: array()
Post ID or WP_Post object the comment is going to be displayed on.
Default: current post

Code of post reply link: wp-includes/comment-template.php WP 5.2.2

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