WordPress at a glance

comment_reply_link() WP 1.0

Displays the HTML content for reply to comment link.

  • See: get_comment_reply_link()
Works based on: get_comment_reply_link()
✈ 1 time = 0.001392s = very slow | 50000 times = 18.71s = slow

No Hooks.

Return

Mixed. Link to show comment form, if successful. False, if comments are closed.

Usage

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

Code of comment_reply_link: wp-includes/comment-template.php VER 4.9.8

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

Related Functions

From category: Comments Loop

More from Template Tags: Comments

No comments
    Hello, !     Log In . Register